Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Reusable Scatter plot

Public visualization

Viewing a saved revision (read-only)

eb4521374fc64a1a8101f0d1d705227c

Reusable Scatter plot

0 stars0🌍 Public
NNanditha Reddy
Last edited Mar 27, 2024
Created on Mar 24, 2024

This reusable scatter plot visualizes car horsepower, miles per gallon, cylinder count, and displacement from a CSV dataset, animating through these columns every second. Built with D3 v6, it uses a custom `scatterPlot` function with `scaleLinear`, `scaleOrdinal`, `axisLeft`, and `axisBottom` to render SVG marks. Data points appear as distinct symbols and colors, with axes and labels updating dynamically via `setInterval` and the `svg.call(plot)` pattern.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.