π Public
Q2
This area chart displays the distribution of attribute values across different genres, with five overlaid colored regions representing rating ranges from "below 5.0" to "above 8.5." Built with D3 v7 using SVG rendering, it loads data from a remote CSV file and creates the visualization using `d3.area`, `d3.scaleBand`, and `d3.scaleLinear` APIs. The chart includes styled axes with rotated x-axis labels for genre names, and a legend-like color scheme via `d3.schemeCategory10`. Data conversion from strings to numbers occurs before scale construction.
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
Comments
Sign in to join the discussion.