Skip to main content
Public

Share visualization

Loading preview…

Practic04 | 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

Practic04 | Bar Chart

2
Hhimanshucse2012
Last edited Oct 20, 2021
Created on Oct 17, 2021
Forked from Practic03 | SVG

This example displays temperature readings (T and Tw) across dates and times as a bar chart. The visualization uses D3 v5 with SVG rendering, employing `scaleLinear` for the x-axis temperature range and `scaleBand` for the categorical y-axis combining date and time values. The chart includes `axisLeft` and `axisBottom` to display the scales, while bars are drawn as SVG rectangles colored steelblue. Data is loaded from a local CSV file and processed by converting temperature values to numbers before binding to the visualization.

AI-generated description

A program that shows the top 10 most populous countries as a pathetic bar chart with no axes.

Comments

Sign in to join the discussion.

MIT Licensed