Activity 6 Task 4 Q9
✓ Published0🌍 Public
This example loads the classic Iris dataset from a remote CSV file and renders a bubble chart using D3.js v7 with SVG. It plots sepal length on the x-axis and sepal width on the y-axis, while the size of each circle encodes petal length through a `d3.scaleSqrt`. The chart includes axes generated with `d3.axisBottom` and `d3.axisLeft`, along with custom axis labels. Circles are filled with semi-transparent steelblue and the code fetches data asynchronously via `d3.csv`.
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