Skip to main content
100%

Scatter plot with React & D3

✓ Published4🌍 Public
Rrvdv
Last edited Dec 26, 2021
Created on Dec 24, 2021

This scatter plot visualizes the relationship between bill depth and bill length for penguins, using data loaded from a CSV file via `d3.csv`. Each circle represents a penguin, with a native SVG `<title>` element providing tooltip information. Built with React components that render D3 scales, the chart uses `d3.scaleLinear`, `extent`, and `format` for axis ticks, with axes and marks created by custom React components. The visualization demonstrates a React-D3 integration pattern where D3 handles data scaling and formatting while React manages the SVG rendering.

AI-generated description
MIT Licensed

Similar vizzes