Question 1
✓ Published2🌍 Public
This visualization displays vehicle registration counts by type as a donut pie chart with an interactive legend. The chart shows four categories with proportional slices and displays the value in thousands inside each segment, while the legend on the right lists each vehicle type with its corresponding color and count. Built with D3 v5, the code uses the `pie` function to compute arc segments, `arc` for path generation, and `scaleOrdinal` for color mapping, fetching data from a remote CSV file. The SVG output is styled with custom CSS classes for the legend text and labels.
AI-generated descriptionMIT Licensed