Skip to main content
100%

ICE-6_ Plot-Scatterplot

✓ Published0🌍 Public
Sskambhore04
Last edited Mar 7, 2022
Created on Mar 7, 2022
Forked from Cars Scatter Plot

This visualization shows the relationship between sepal length and petal length in the Iris dataset, with each flower represented as a semi-transparent red circle. The code uses d3.csv to load the data, determines the plot dimensions from the browser window, and maps values using d3.scaleLinear with d3.extent for domain ranges. Axes are rendered with d3.axisLeft and d3.axisBottom, while d3.selectAll and the join method create the SVG circles. The axis and label text styling comes from the linked stylesheet, which also sets the circle opacity.

AI-generated description
MIT Licensed

Similar vizzes