🌍 Public
Viewing a saved revision (read-only)
8f7a3c11efbf43eaa56ffa4698a28b5b
D3 Scatter Plot_ rendering_axis
This scatter plot visualizes the Iris Dataset, comparing petal length against sepal length across multiple flower specimens. The code uses D3 v6 to load the CSV data, apply linear scales for both axes, and render circles as SVG elements. Axis ticks are drawn explicitly using `axisLeft` and `axisBottom`, with the plot filling the full browser viewport via `window.innerWidth` and `window.innerHeight`. The example demonstrates a clean, minimal approach to building coordinate-based visualizations with D3’s data-binding and scale functions.
AI-generated descriptionA vanilla HTML implementation of a D3 scatter plot. Shows the Iris Dataset.