Skip to main content
Public

Share visualization

Loading preview…

Fork of Fork of Fork of ICE-6 Bar Graph

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 Fork of Fork of ICE-6 Bar Graph

0
TTekmal-Bhavana
Last edited Mar 15, 2023
Created on Mar 15, 2023

This horizontal bar chart displays the cost of Netflix subscriptions across twelve countries, sourced from a CSV file via `d3.csv`. The React-based SVG visualization uses `d3.scaleBand` for the y-axis country labels and `d3.scaleLinear` for the x-axis cost values, with red tick lines and text labels generated through `xScale.ticks()`. Each country’s bar is rendered as a `rect` positioned by the y-scale and sized by its cost, all within a 960x500 canvas. The chart is titled “Breast cancer wisconsin” in the HTML header, though the data pertains to streaming costs.

AI-generated description

A whole smiley face

Comments

Sign in to join the discussion.

MIT Licensed