Skip to main content
Public

Share visualization

Loading preview…

Fork of 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

Fork of Bar Chart

0
Ppreethamkesa
Last edited May 1, 2022
Created on May 1, 2022
Forked from Bar Chart

This fork of a bar chart visualizes the relationship between years of experience and salary. It renders steel-blue SVG rectangles using D3.js v7, with an x-axis for experience and a y-axis formatted to display salary in dollars. The code loads CSV data from a GitHub gist and uses `d3.scaleBand`, `d3.scaleLinear`, and `d3.axisBottom`/`d3.axisLeft` to construct the chart. A title and axis labels are added as text elements, and the SVG is sized at 800 by 600 pixels.

AI-generated description

States with Stamen employees as of January 2022

Comments

Sign in to join the discussion.

MIT Licensed