Reusuable ScatterPlot
This scatter plot visualizes wildlife data, mapping population density, altitude, weight, and temperature for different animal types. The visualization dynamically cycles through these four attributes on the x-axis every second, updating the plot in real time using D3.js version 6 with SVG rendering and animation. Each data point is represented by a symbol determined by the animal type, with colors assigned by species (e.g., purple for lions, green for tigers), while the y-axis remains fixed to altitude. The chart includes labeled axes, a title, and is built with reusable, modular code that accepts configurable accessor functions for flexibility across datasets.