ICE-7_shanmukha_reusablescatterplot
✓ Published0🌍 Public
This example presents a reusable scatter plot that visualizes the Telco Customer Churn dataset, toggling between two views every five seconds. It plots tenure against monthly charges in one view and against total charges in the other, using D3.js v6 with SVG and animation. The code defines a reusable `scatterPlot` function with configurable accessors for data, dimensions, and margins, then uses `setInterval` to swap between the two plot instances.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts.
Shows the Iris Dataset.
MIT Licensed