Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Empty D3 Starter-likitha

Public visualization

Fork of Empty D3 Starter-likitha

0 stars0🌍 Public
Aaddalalikitha15@gmail.com
Last edited Mar 8, 2026
Created on Mar 8, 2026

A bar chart displays the average migration distance for birds, grouped by region. The visualization uses a sample dataset loaded from a GitHub gist, with the computation of regional averages handled by `d3.rollups` and `d3.mean`. The SVG rendering employs `d3.scaleBand` for the categorical x-axis and `d3.scaleLinear` for the continuous y-axis, with axes generated via `d3.axisBottom` and `d3.axisLeft`. The bars are drawn as SVG rectangles in steel blue, and the chart updates with an animation on data load.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed