VIZHUB_Q1_DVA7
✓ Published0🌍 Public
This visualization displays the distribution of car classification categories—unacc, acc, vgood, and good—as a pie chart with percentage labels and a legend showing counts. It loads CSV data from a GitHub gist and uses D3.js version 7.8.5 via CDN, employing the d3.pie, d3.arc, and d3.scaleOrdinal APIs to generate slices, colors, and labels. The SVG rendering includes custom legend elements and a bold title, with data processed through d3.csv.
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