Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Bar chart

Public visualization

Bar chart

0 stars1🌍 Public
GGeolffrey S Mena
Last edited Sep 6, 2019
Created on Sep 6, 2019
Forked from Bar chart

A bar chart displays the relative proportions of work, stop, and idle time for four crews, using horizontal stacked bars. Each crew’s row is composed of three colored segments whose lengths correspond to the numeric values from the CSV data. The visualization uses D3 v5’s `csv`, `scaleLinear`, `scaleBand`, `scaleOrdinal`, `axisLeft`, and `axisBottom` to load the data, position the bars, and render axes in SVG. A static color scale assigns distinct hues to the three activity categories.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed