Pie chart
✓ Published0🌍 Public
This pie chart visualizes the rating distribution for Action genre movies, with five rating categories from "below 5.0" to "above 8.5". The chart is rendered as an SVG using D3.js v7, with arcs generated by the `d3.arc` and `d3.pie` APIs. Data is loaded from a CSV file via `d3.csv`, filtered, and then mapped to a categorical color scheme using `d3.scaleOrdinal` and `d3.schemeCategory10`. A legend lists each rating bracket next to its corresponding color.
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