🌍 Public
Viewing a saved revision (read-only)
944201ab41684960868938b6d3cf595d
Question1
This example visualizes the top five car companies and their market percentages as an interactive pie chart. Each slice displays its percentage value, with a legend showing company names alongside their corresponding percentages and color swatches. The visualization uses D3 v5 APIs including `d3.pie`, `d3.arc`, and `d3.scaleOrdinal` to generate the chart, and loads its data from a CSV file hosted on a GitHub gist. SVG is used for rendering all chart elements and text.
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.