Skip to main content
100%

Scatter Plot

✓ Published1🌍 Public
AAmruthaVee
Last edited Mar 23, 2023
Created on Mar 23, 2023

This scatter plot visualizes the Palmer Penguins dataset, showing body mass against culmen length with colored circles for each species. The visualization uses D3 v6 within a React framework to load CSV data and render SVG elements, employing scaleLinear for axes and extent for domain calculations. Circle positions map culmen length and body mass, while species determines fill color through a custom switch function. Axis labels are styled with red text, and the plot fills the entire browser window with margin-based positioning.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes