Activity_7.1 Q2
✓ Published0🌍 Public
This example visualizes perceived stress scale (PSS) scores for individual participants using an area chart. It loads data from a remote CSV file via `d3.csv`, maps participant IDs to a band scale, and PSS scores to a linear scale for the y-axis. The chart renders as an SVG path generated by `d3.area()`, with axes added using `d3.axisBottom` and `d3.axisLeft`. The layout includes rotated axis labels and a title, with styling provided by an external stylesheet.
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