Fork of Reusable D3 Scatter Plot
✓ Published0🌍 Public
This example presents a reusable D3.js scatter plot that visualizes the Iris Dataset, initially mapping petal width against sepal length. The plot animates by cycling through four data columns as the x-axis variable every two seconds. Built using D3 v6's `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` APIs, it leverages a custom `scatterPlot` function with a fluent interface for configuration. The visualization renders as an SVG, with circles drawn via D3's `selectAll` and `join` operations, and uses the Share Tech font from Google Fonts.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts.
Shows the Iris Dataset.
MIT Licensed