Skip to main content
100%

Reusable Scatter plot Archana Goli

✓ Published0🌍 Public
Aarchanagoli@my.unt.edu
Last edited Mar 27, 2024
Created on Mar 27, 2024

This reusable D3.js scatter plot visualizes the dimensions of wheat kernels, with each circle representing a sample. The plot cycles through four variables—Perimeter, Kernel_Width, Area, and Kernel_Length—on the x-axis every two seconds, while the y-axis remains Kernel_Length. Built with D3’s `scaleLinear`, `axisLeft`, and `axisBottom` APIs, the SVG visualization updates dynamically via a `setInterval` function. The code loads CSV data from a GitHub gist and renders animated, resizable scatter plots based on the browser window’s dimensions.

AI-generated description
MIT Licensed

Similar vizzes