Question_4
✓ Published0🌍 Public
This example displays the Iris dataset as a bubble chart, encoding sepal length on the x-axis, sepal width on the y-axis, and petal length as the bubble radius. It uses d3.csv to load the data and d3.scaleLinear and d3.scaleSqrt to map values to positions and sizes. Axes are generated with d3.axisBottom and d3.axisLeft, and circles are appended to an SVG with a steelblue fill and opacity 0.5. Tooltip styling is included in the HTML but not activated.
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