Skip to main content
Public

Share visualization

Loading preview…

Assignment6_SarathL_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

Assignment6_SarathL_barchart

0
Ssarathlingareddy754@gmail.com
Last edited Oct 17, 2025
Created on Oct 17, 2025
Forked from HTML Starter

This bar chart displays average expression levels for two genes, Gene X and Gene Y, computed from a CSV dataset loaded via d3.csv. It summarizes the data by showing the mean expression value for each gene as a pair of steel-blue bars that turn orange on hover. The visualization uses D3 v7 scaleBand and scaleLinear to position the bars and axes, with d3.axisBottom and d3.axisLeft generating the scales. A summary paragraph above the chart reports the sample count and computed averages, using d3.mean for calculations. The SVG rendering includes axis labels for both dimensions.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed