Scatter Plot of Birds on a tree
✓ Published0🌍 Public
This scatter plot visualizes the number of birds observed on a tree at five different times of day, from 8:00 AM to 12:00 PM. Each red circle represents a single observation, with its horizontal position determined by time and its vertical position by the bird count, which is also labeled directly above each point. The chart uses D3 v6’s `scalePoint` for the categorical time axis and `scaleLinear` for the numeric bird count, with axes generated via `axisBottom` and `axisLeft`, all rendered as SVG elements within a 600 by 400 viewBox. The data is hardcoded in the HTML file, and the visualization is built entirely with D3's low-level selection and append methods.
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