Skip to main content
100%

mouli scatterplot

✓ Published0🌍 Public
Ddmouli369@gmail.com
Last edited Mar 28, 2024
Created on Mar 28, 2024

This animated scatter plot cycles through three weather measurements—temperature, precipitation, and pressure—on the x-axis while keeping humidity on the y-axis, using data from a CSV file. It demonstrates a reusable chart pattern with D3 v6, where the x-value mapping updates every two seconds via `setInterval` and a scaleLinear with extent-based domains. The SVG circles and axes are redrawn using D3’s selection joins, while `axisLeft` and `axisBottom` render the scales. The visualization, inspired by reusable chart principles, highlights how dynamic data encodings can be swapped without restructuring the chart logic.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.

MIT Licensed

Similar vizzes