Skip to main content
100%

ICE-7_shanmukha_reusablescatterplot

✓ Published0🌍 Public
Sshanmukhadatta4040@gmail.com
Last edited Mar 22, 2024
Created on Mar 21, 2024

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 description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.

MIT Licensed

Similar vizzes