Skip to main content
100%

Nikita's Reusable D3 Scatter Plot

✓ Published0🌍 Public
Nnikitamakkena
Last edited Mar 27, 2022
Created on Mar 27, 2022

This reusable scatter plot visualizes the Iris dataset, mapping sepal and petal measurements to x and y axes with species-based color encoding. The example demonstrates a customizable D3 chart factory using `d3.scaleLinear`, `d3.scaleOrdinal`, and `d3.axisBottom`/`d3.axisLeft`. It includes a legend and a two-second animation interval that cycles through different measurement columns, updating the plot dynamically. The visualization uses SVG rendering with D3 v6 and loads data from a remote CSV.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.

MIT Licensed

Similar vizzes