Reuseable D3 Scatter Plot
✓ Published0🌍 Public
This reusable D3 scatter plot visualizes the Iris dataset, mapping petal length on the x-axis and sepal length on the y-axis. It employs a functional, configurable design using d3’s `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to automatically compute scales and render axes. The code loads CSV data via d3’s `csv` and draws SVG circles with a fixed radius, adapting to the browser window’s dimensions. The implementation showcases a modular chart-building pattern with settable properties for dimensions, data, and margins.
AI-generated descriptionD3 Scatter Plot
Venilla Html Javascript D3 Scatter Plot
MIT Licensed