Skip to main content
100%

Reusable D3 Scatter Plot_Niharika

✓ Published0🌍 Public
NNiharika Reddy Amanaganti
Last edited Mar 24, 2023
Created on Mar 24, 2023

This interactive scatter plot explores the Iris dataset, displaying sepal length against petal width as animated circles. It cycles through different column pairings every two seconds, letting viewers see relationships between all four flower measurements. The visualization uses D3 v6’s modular API, including `scaleLinear`, `extent`, `axisLeft`, and `axisBottom`, to render axes and marks in SVG. Data is loaded from a CSV file, and the chart is built as a reusable function with configurable width, height, margins, and radius.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.

MIT Licensed

Similar vizzes