act6t3
✓ Published0🌍 Public
This example visualizes the Iris dataset as a scatter plot, mapping petal length against petal width on the x- and y-axes while also encoding sepal dimensions as additional point properties. It uses D3 v6 to load CSV data from a GitHub gist, apply linear scales, and render colored SVG circles distinguished by iris species. The code explicitly uses `d3.csv`, `scaleLinear`, `extent`, `axisLeft`, and `axisBottom`, with an asynchronous main function to draw the chart on an SVG canvas sized to the window.
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