Skip to main content
100%

D3 Dotplot (Reusable)

✓ Published0🌍 Public
Sscheenmi@gmail.com
Last edited Oct 31, 2022
Created on Oct 31, 2022
Forked from Hello VizHub

This dotplot displays the Iris dataset, showing sepal length measurements across three species. Each species is positioned along the x-axis, with individual data points jittered horizontally using `randomUniform` to reduce overplotting while their vertical positions reflect sepal length via a `scaleLinear` mapping. The visualization is built as a reusable D3 module using the getter-setter pattern, rendering SVG circles with axes generated by `axisLeft` and `axisBottom`. Data is loaded as CSV and parsed with d3.csv.

AI-generated description
MIT Licensed

Similar vizzes