Skip to main content
100%

Bar chart

✓ Published0🌍 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
MIT Licensed

Similar vizzes