🌍 Public
Viewing a saved revision (read-only)
c04652c75eaf46b5b56e2306b8c4cc2c
Balaji ICE-7 Scatter Plot
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 responsive scatter plot.