Fork of Responsive Scatter Plot
✓ Published0🌍 Public
This example demonstrates a responsive scatter plot using the Palmer Penguins dataset, mapping bill length to the x-axis and flipper length to the y-axis. It filters out rows with missing values and renders semi-transparent circles over a light gray inner rectangle. The visualization leverages D3’s `scaleLinear` and `axisLeft` for scales and axes, while the `@curran/responsive-axes` library handles axis labels and tick formatting. Container resizing is managed through `observeResize` from `@curran/responsive-axes`, with the SVG width and height updated accordingly.
AI-generated descriptionA responsive scatter plot.
MIT Licensed