Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE6 Bar Chart 11719939

Public visualization

Viewing a saved revision (read-only)

55186a15a20248d28c3476f48e096902

ICE6 Bar Chart 11719939

0 stars2🌍 Public
AArram Anila
Last edited Mar 25, 2025
Created on Mar 25, 2025
Forked from ICE5 cat dataset

This bar chart visualizes the average age of different cat breeds, sourced from a CSV dataset. Each breed is represented as a green bar, with the average age labeled above it. The chart is rendered as an SVG using D3.js v7 and dynamically sized based on the number of breeds. The code employs D3’s `d3.csv`, `d3.rollup`, and `d3.mean` to aggregate the data, then uses `d3.scaleBand` and `d3.scaleLinear` to position bars and axes. The visualization includes rotated x-axis labels, grid lines, and axis titles.

AI-generated description