basic scatter
✓ Published0🌍 Public
This example visualizes the classic Iris dataset as a basic scatter plot, mapping sepal length to the x-axis and sepal width to the y-axis. It loads data from a CSV file hosted on GitHub using `d3.csv`, then uses `d3.scaleLinear` to translate data coordinates into pixel positions. The circles are rendered as SVG elements, with axes generated via `d3.axisLeft` and `d3.axisBottom`. The visualization fills the browser window, adapting its dimensions to `window.innerWidth` and `window.innerHeight`, and applies custom tick font sizing through CSS.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed