Skip to main content
100%

Fork of Reusable D3 Scatter Plot

✓ Published0🌍 Public
Rradhadevarapu
Last edited Mar 10, 2023
Created on Mar 10, 2023

This fork of a reusable D3 scatter plot visualizes the Iris dataset, cycling through different feature pairings on the x-axis every two seconds. Rendered as an animated SVG, it uses `d3.csv` to load data and a custom `scatterPlot` function with `scaleLinear`, `axisLeft`, and `axisBottom` to draw points and axes. The code demonstrates a reusable chart pattern by exposing setter methods like `width` and `xValue`, allowing dynamic reconfiguration without redrawing the entire visualization.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.

MIT Licensed

Similar vizzes