Skip to main content
100%

Assignment 2 - Pie Chart

✓ Published18🌍 Public
Ddandudivya98@gmail.com
Last edited Apr 13, 2024
Created on Apr 12, 2024

This pie chart visualizes vehicle registration counts by type, with each slice labeled with its value in thousands and accompanied by a color-coded legend. The visualization uses D3 v5’s `d3.pie` and `d3.arc` to generate the chart, `d3.scaleOrdinal` for slice colors, and `d3.format` for tick labels. Data is loaded asynchronously from a CSV file via `d3.csv`, and the chart is rendered as SVG with custom styling for text and legends.

AI-generated description
MIT Licensed

Similar vizzes