Fork of Fork of Task 9 & 10 Area Chart
✓ Published0🌍 Public
This animated scatter plot visualizes the Iris dataset, cycling through four attribute combinations on the x-axis to reveal different relationships between petal and sepal measurements. Built with D3, the visualization dynamically updates axis labels and re-renders the plot, with data points colored by species (setosa, versicolor, virginica). The code uses D3’s `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` functions for scaling and axes, with SVG rendering and a `setInterval` for animation. It loads data via CSV and demonstrates modular ES6 imports, showing how to build reusable chart components.
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