Skip to main content
100%

Fork of Stylised Scatter Plot

✓ Published1🌍 Public
Nnagamaheswar
Last edited Mar 3, 2022
Created on Mar 3, 2022

This scatter plot visualizes the Iris dataset, showing the relationship between petal length and sepal length. The visualization uses React components for the axes and marks, with D3 v6 handling data loading via `useCsv` and scaling through `scaleLinear` and `extent` for domain calculation. SVG is the rendering approach, with circles representing data points and tooltips showing precise values. The chart includes styled axis elements with custom tick formatting using D3's `format` function. The code demonstrates a modular structure with separate React components for axes, marks, and data handling.

AI-generated description

A scatter plot showing the Iris dataset and the relationship between Petal Length and Sepal Width (adaptable to any variable) using D3 and React.

MIT Licensed

Similar vizzes