Skip to main content
100%

Fork of Responsive Scatter Plot

✓ Published0🌍 Public
NNanditha Reddy
Last edited Mar 19, 2024
Created on Mar 19, 2024

This visualization displays the classic Iris dataset as a scatter plot, plotting petal length against sepal length. The code uses D3.js v6 to load the CSV data via `d3.csv` and render circles as SVG elements. It employs `d3.scaleLinear` to map the data domain to screen coordinates, with axes generated using `d3.axisLeft` and `d3.axisBottom`. The chart fills the browser window with responsive sizing. The visualization clearly shows the relationship between the two flower measurements, though it does not color-code by species, presenting the raw data points uniformly.

AI-generated description
MIT Licensed

Similar vizzes