Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

barplot

Public visualization

Viewing a saved revision (read-only)

9ec2aa405dc04105b7362ca7ece91c39

barplot

0 stars3🌍 Public
VVignesh Nallamothu
Last edited Mar 24, 2025
Created on Mar 24, 2025
Forked from Bar_Plot

This bar chart visualizes sleep duration for individuals, with each bar representing a person’s name and the bar height corresponding to their hours of sleep. The visualization uses d3.csv to load data from a remote ICE5dataset, d3.scaleBand for the x-axis categories, and d3.scaleLinear for the y-axis. Bars are rendered as SVG rectangles with a hover effect that changes their fill to orange via d3.select, while d3.axisBottom and d3.axisLeft generate the labeled axes.

AI-generated description