Skip to main content
Public

Share visualization

Loading preview…

feat1_dropdown_dependent_barchart

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

feat1_dropdown_dependent_barchart

1
SShweta-tech
Last edited Feb 9, 2020
Created on Feb 7, 2020

A dropdown selector toggles a bar chart between displaying Weight% and Height% data from the local data.csv file. The visualization uses D3.js (including d3.scaleLinear, d3.scaleBand, and d3.interpolateRdYlGn for color mapping) within a React framework, rendering SVG bars with transitions and a tooltip. The chart includes axes, value labels, and an animated bar height update when the selection changes.

AI-generated description

A bare minimum HTML page.

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed