Skip to main content
100%

Fork of Reusable D3 Scatter Plot

✓ Published0🌍 Public
Yyisha huang
Last edited Jun 27, 2024
Created on Jun 27, 2024

This example demonstrates a reusable scatter plot built with D3, visualizing the Iris dataset. It cycles through four attribute pairs every two seconds, updating the x-axis and circle positions with animated transitions. The code uses D3's `scaleLinear`, `extent`, `axisLeft`, `axisBottom`, and a custom `scatterPlot` module, rendering SVG circles and axes. The plot dynamically re-renders with new data mappings, showcasing a flexible, configurable chart component.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.

MIT Licensed

Similar vizzes