Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Assignemnt

Public visualization

Viewing a saved revision (read-only)

e8decf09818d4714b86918d3700bf01b

Assignemnt

0 stars0🌍 Public
Eeeshani.boyapati@gmail.com
Last edited Mar 6, 2026
Created on Mar 6, 2026
Forked from DV Assignment

This bar chart ranks 26 students by their daily screen hours, displaying each roll number on the vertical axis and screen time on the horizontal axis. The bars are sorted in descending order, with black bars that turn steel-blue on hover and a tooltip showing the exact roll number and hours. Built with D3 v7, the visualization loads CSV data via `d3.csv`, uses `d3.scaleBand` for the categorical axis, `d3.scaleLinear` for the numeric axis, and renders as SVG with gridlines created through `d3.axisBottom`.

AI-generated description