Reusable Scatter Plot
✓ Published0🌍 Public
This reusable scatter plot visualizes the relationship between a person’s age and one of two scores, toggling between Score1 and Score2 every two seconds. It loads data from a local CSV file, using D3’s `scaleLinear`, `axisBottom`, `axisLeft`, and `csv` functions. The visualization is rendered as SVG circles with axes and labels, updating dynamically via a timer. It highlights the use of local ES6 modules and the D3 `select` API for chart 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