🌍 Public
Viewing a saved revision (read-only)
d33597518b524b99b8d78afc5deda12e
sekhar question1
This example shows a pie chart of video game genres by the count of titles rated above 8.5, with a categorical color scale and a legend identifying each genre. It loads CSV data from a GitHub raw URL, converts the numeric field, and uses D3 v6’s `d3.pie` and `d3.arc` to generate SVG paths. The chart applies `d3.scaleOrdinal` with `schemeCategory10` for colors and appends a legend with colored rectangles and text labels.
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.