Fork of vizhub for CSCE 5320ASSIGNMNET 2
✓ Published0🌍 Public
This example shows a D3 pie chart that visualizes the number of items with a rating above 8.5 across different genres, using data loaded from a remote CSV file via `d3.csv`. The chart renders as an SVG with a categorical color scale (`d3.scaleOrdinal` and `d3.schemeCategory10`), and each slice is drawn using `d3.pie` and `d3.arc`. A legend on the right maps each genre to its corresponding color, with the chart styled using opacity, black strokes, and explicit width and height dimensions.
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