Font Awesome Pie Chart Icon (Graph, Diagram, Statistic)

In this tutorial we will learn how to use Font Awesome Pie Chart icon also known as fa fa pie chart . It is represents as graphical data, diagrams, and statistics. You can also change the pie chart icon's color, font size, style, and animation by using 'Try it' editor

Fontawesome Version 4.X

pie chart

<i class='fa fa-pie-chart'></i>

pie chart

<i class='fa fa-pie-chart' style='color: white'></i>

pie chart

<i class='fa fa-pie-chart' style='color: red'></i>

pie chart

<i class='fa fa-pie-chart' style='color: blue'></i>

pie chart

<i class='fa fa-pie-chart' style='color: #f3da35'></i>
Try it Yourself

How to add Font Awesome pie chart Icon ?

Font Awesome Icon fa fa pie chart Icon can be added to any web page simply as below. You can integrate Icon in web pages by just adding following below syntax & icon code.

Icon -
<i class='fa fa-pie-chart'></i>
Icon Code -
fa fa-pie-chart

HTML Code

Get complete html code for icon pie chart

                    
                    <!DOCTYPE html>
                    <html>
                        <head>
                        <title>Page Title</title>
                        <link rel='stylesheet' href='https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css'>
                       </head>
                        <body>
                        <i class='fa fa-pie-chart'></i>
                        </body>
                    </html>                    

Tags

chart,graph,Diagram,Visualization,Statistic

Change Font Awesome Icon Pie chart Color

Sometimes we need icons in different color, as we suggested by adding css style we can change color. Here we have created one example to change color of icons with css classes.


    <style>
    .blue-color {
        color:blue;
    }
     
    .green-color {
        color:green;
    }
     
    .teal-color {
        color:teal;
    }
     
    .yellow-color {
    color:yellow;
    }
    
    .red-color {
        color:red;
    }
   </style>
    
     <i class='fa fa-pie-chart blue-color'></i>
      <i class='fa fa-pie-chart green-color'></i>
      <i class='fa fa-pie-chart teal-color'></i>
      <i class='fa fa-pie-chart yellow-color'></i>
      <i class='fa fa-pie-chart red-color'></i>
      

Output of the above example will be as below-


Note- Make Sure You have included the below Font Awesome file in header-
            
<link rel='stylesheet' href='https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css'>            
            
Related Icons

Advertisements



Advertisements



Looking For More Icons?