Activity - 7
✓ Published0🌍 Public
This visualization displays the distribution of car classification categories using a pie chart with bold colors and percentage labels. The chart, rendered as an SVG via D3.js (version 7.8.5), uses the `d3.arc` and `d3.pie` APIs to generate slices and a legend. Data is loaded from a CSV file hosted on GitHub, and the `d3.scaleOrdinal` function defines the categorical color scheme. A title and legend with category counts complement the chart.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed