Polished Scatter Plot
✓ Published0🌍 Public
This example shows an interactive scatter plot of the Iris flower dataset, with dropdown menus to select which measurements appear on the x- and y-axes. The visualization uses React class components in conjunction with D3 scales (scaleLinear, scaleOrdinal) to map sepal and petal dimensions to positions and colors by species. SVG circles render the data points, while D3 transitions animate the points to new positions when the axis selections change. The plot includes formatted axis ticks and tooltips displaying values on hover.
AI-generated descriptionCreating a class based scatter plot
MIT Licensed