Skip to main content
100%

Fork of Reusable D3 Scatter Plot

✓ Published0🌍 Public
AAsrar Al Qassem
Last edited Mar 21, 2024
Created on Mar 21, 2024

This reusable scatter plot visualizes the Iris Dataset using D3 v7, rendering each data point as a circle positioned by scaled time and linear axes. The chart is built through a custom `ScatterPlot` class with a `render` method that appends SVG elements, using `d3.scaleTime`, `d3.scaleLinear`, `d3.axisBottom`, and `d3.axisLeft`. The example demonstrates a modular chart architecture inspired by reusable chart patterns, with data passed separately from the visualization logic.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.

MIT Licensed

Similar vizzes