Skip to main content
100%

teja_pie chart

✓ Published0🌍 Public
TTejasree Reddy
Last edited Mar 27, 2025
Created on Mar 27, 2025
Forked from Hello VizHub

This pie chart visualizes vehicle registration data, displaying the proportional counts of different vehicle types as colored slices. The chart uses orange, pink, yellow, and light blue sections, each labeled with its count and accompanied by a legend that identifies the vehicle type and value. Built with D3 v5, the visualization fetches data from a CSV file using `d3.csv` and constructs the pie chart with `d3.pie`, `d3.arc`, and `d3.scaleOrdinal` for color mapping. The SVG output includes value labels positioned via arc centroids and a separate legend group.

AI-generated description
MIT Licensed

Similar vizzes