ICE6_Nitheesh-Sama-scatterplot
✓ Published1🌍 Public
This scatter plot visualizes penguin data, showing flipper length on the x-axis and body mass on the y-axis, with each point colored by species (Adelie, Chinstrap, or Gentoo). The code loads a CSV from a GitHub gist and uses d3.csv, d3.scaleLinear, d3.extent, d3.axisLeft, and d3.axisBottom to map the data and render axes. Circles are drawn via SVG selection joins, with margins and labels styled using CSS and inline attributes. The visualization is built with D3 v5 within a React-free HTML page.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed