🌍 Public
Viewing a saved revision (read-only)
0e9f3e22b18c49c6b75d0edc2bf71fc2
Fork of Hello VizHub Divya Anusha Chandrupatla
This example displays a scatterplot of the Iris dataset, plotting sepal length against sepal width as steelblue circles. It uses D3.js v6 to load data via CSV, compute linear scales with `d3.scaleLinear` and `d3.extent`, and render axes with `d3.axisBottom` and `d3.axisLeft`. The SVG output includes axis labels using SVG text elements. The visualization also exemplifies VizHub's ES6 module import through a message component and a separate `script.js` file that fetches the dataset from a GitHub gist.
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.