Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Horizontal Bar Chart

Public visualization

Viewing a saved revision (read-only)

3a884c45c30145df9bf7cdd3c6fae870

Horizontal Bar Chart

0 stars0🌍 Public
Llinlinlin-yx
Last edited Dec 15, 2022
Created on Dec 15, 2022
Forked from HTML Starter

This horizontal bar chart displays vaccination rates across five New York City boroughs, with radio buttons allowing viewers to switch between eight monthly time points from 2021 to 2022. The visualization uses D3 v7 scales and axes to map percentage values from 0 to 100 on the x-axis, with color-coded bars representing each borough. Interactivity is implemented through click event listeners that rebind bar width and label data based on the selected month. The SVG rendering includes background rectangles, axis groups, and text labels showing exact percentages.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.