🌍 Public
Scatter Plot of Birds on a tree
A scatter plot shows bird counts at five times of day, with red circles positioned along a point scale for time and a linear scale for count. The code uses D3 v6 to bind the dataset, append SVG circles and value labels, and render axes via `d3.axisBottom` and `d3.axisLeft`. The visualization is fully client-side, using hardcoded sample data and drawing with SVG elements inside an HTML container.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed
Comments
Sign in to join the discussion.