Skip to main content
100%

pie for 7 SDV

✓ Published0🌍 Public
BBlueT
Last edited Mar 28, 2024
Created on Mar 28, 2024

This example visualizes global electric vehicle stock values for 2012 as a pie chart, with each region labeled directly on the arcs and a legend displaying region names alongside their numeric values. The chart is rendered as an SVG using D3 v7, employing `d3.pie`, `d3.arc`, `d3.scaleOrdinal` with `schemeCategory10`, and `d3.csv` to load the data from a GitHub gist. The visualization uses `d3.select` to append the pie paths and text labels, with a light blue background and dark blue title specified in the CSS.

AI-generated description
MIT Licensed

Similar vizzes