Skip to main content
Public

Share visualization

Loading preview…

demo

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

demo

2
Ddr_nareshvet@yahoo.in
Last edited Jun 16, 2025
Created on Jun 16, 2025

This example shows an interactive bar chart that displays the frequency of letters from A to G. Clicking a bar highlights it and dims the others, while clicking it again deselects it. The chart renders bar elements with rounded corners and includes labeled axes with gridlines. Built with React and D3 v7, it uses `d3.scaleBand` and `d3.scaleLinear` for positioning, `d3.axisBottom` and `d3.axisLeft` for axes, and `ResizeObserver` to adapt to container dimensions. Data is loaded from a local CSV file using `d3.csv`.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed