Skip to main content
Public

Share visualization

Loading preview…

Starting with Bar Chart

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Starting with Bar Chart

0
Mmanalhilali
Last edited Nov 29, 2020
Created on Nov 29, 2020

A horizontal bar chart displays the weight of four individuals from a local CSV file. The chart uses D3 v6 with modular imports, including `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom` to map data values to SVG rectangles. The bars are filled with steelblue, and axes are rendered with D3's axis generators. The visualization loads data asynchronously via `csv('data.csv')`, parsing weights as numbers before rendering the SVG output.

AI-generated description

Starting with Bar Chart

Comments

Sign in to join the discussion.

MIT Licensed