Balaji ICE-7 Scatter Plot
✓ Published0🌍 Public
This animated scatter plot cycles through different x-axis attributes—Expenses, Revenue, and EmployeeCount—from a revenue CSV dataset, plotting them against Profit. Built with D3.js, it uses a reusable `scatterPlot` function with a fluent interface to configure scales, axes, and point radius. The visualization updates every two seconds via `setInterval`, re-rendering the SVG elements and axes as the data mapping changes. The code leverages D3’s `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to generate the plot.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts.
Shows the Iris Dataset.
MIT Licensed