CSS Stockを表示するスマートフォンのモック
デザインの例1デザインの例2デザインの例3

3 pie chart designs created using only HTML/CSS

We have put together a pie chart snippet that can be implemented using only HTML and CSS. All can be easily used by copying and pasting without using a Java Script library.

Simple PieChart

Standard

Standard

  1. Design Adjustment
  2. Copy HTML
  3. Copy CSS
  4. Completion
step1

Adjust design

  • rate display

A pie chart that can be drawn with a single CSS property called "conic-gradient". The feature is that it is easy to create without even using SVG from JS.

2 items

2 items

  1. Design Adjustment
  2. Copy HTML
  3. Copy CSS
  4. Completion
step1

Adjust design

  • legend

A pie chart that allows you to set two items. The legends on the right make each item easier to understand, but it's up to you to decide whether to include them or not.

Donut PieChart

Standard

Standard

  1. Design Adjustment
  2. Copy HTML
  3. Copy CSS
  4. Completion
step1

Adjust design

A pie chart with a hole in the middle, like a donut. Recommended if you want not only the graph but also the text to stand out.