🌍 Public
Activity9-Task1
This pie chart visualizes the number of vehicles seized across different U.S. states, with each slice colored distinctly and labeled with its value in thousands. A legend on the right lists each state alongside its corresponding count. The visualization uses D3 v5’s `pie`, `arc`, and `scaleOrdinal` to generate the chart, with data fetched asynchronously from a raw CSV file hosted on GitHub. SVG elements render the slices, labels, and legend, while `d3.format` displays compact numeric values.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts.
Shows the Iris Dataset.
MIT Licensed
Comments
Sign in to join the discussion.