Skip to main content
100%

Fork of ICE 7 - REUSABLE SCATTER PLOT - WITH DIFFERENT SHAPES - IRIS DATASET

✓ Published0🌍 Public
117761A04F1
Last edited Mar 13, 2023
Created on Mar 12, 2023

A reusable scatter plot built with D3 and React visualizes the Iris dataset, mapping petal width to the x-axis and sepal length to the y-axis. Each of the three Iris species appears as a distinct SVG symbol shape (circle, square, or diamond) generated with `d3.symbol` and `scaleOrdinal`, with colors assigned via a separate ordinal scale. The chart updates every 15 seconds by cycling the x-axis through four measurement columns using `setInterval`, re-rendering the plot with animated transitions. Axes are created with `axisLeft` and `axisBottom`, and the visualization fills the window with a custom "Share Tech" font style.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes