Skip to main content
Public

Share visualization

Loading preview…

Bar chart with D3.js

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

Bar chart with D3.js

0
GGogineni44
Last edited Mar 30, 2023
Created on Mar 30, 2023
Forked from HTML Starter

This bar chart displays the most loved programming languages from the 2018 Stack Overflow survey, using D3.js v5 and React within an SVG. Animations respond to mouse hover, highlighting a bar and revealing percentage divergence for other languages relative to the selected one. The chart uses `d3.scaleBand` and `d3.scaleLinear` for axes, and `transition.attr` for smooth opacity and position changes on interaction.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed