Skip to main content
100%

Fork of Fork of Fork of ICE-6 Bar Graph

✓ Published0🌍 Public
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

MIT Licensed

Similar vizzes