Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Bar chart

Public visualization

Bar chart

0 stars0🌍 Public
Eelaine-xiao
Last edited Sep 8, 2019
Created on Sep 8, 2019
Forked from Bar chart

This example shows a horizontal bar chart with a time-based x-axis and categorical y-axis, displaying progress along a timeline for crew groups. The bars are rendered with a fixed green fill, and the x-axis includes a custom tick format with negative tick sizes. The code uses D3 v5 APIs including `scaleTime`, `scaleBand`, `scaleOrdinal`, `axisLeft`, and `axisBottom`, and loads data from a local CSV file via `d3.csv`. An SVG container with specific width and height dimensions is selected using `d3.select`.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed