Fork of Piechart ICE7
✓ Published1🌍 Public
This pie chart visualizes the number of vehicles seized in different U.S. states, with each state represented by a distinct color and labeled with its value in thousands. The visualization is built using the D3.js library, specifically leveraging `d3.pie`, `d3.arc`, and `d3.scaleOrdinal` to generate the chart and its legend. Data is loaded asynchronously from a raw CSV file hosted on GitHub, which is parsed using `d3.csv`. The chart is rendered as an SVG, with each arc segment and legend entry colored according to the state’s data value, and the total number of vehicles is aggregated for reference.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts.
Shows the Iris Dataset.
MIT Licensed