Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of Fork of ICE-6 Bar Graph

Public visualization

Viewing a saved revision (read-only)

4df3fa08e918478bb09bdd2a8359b8ba

Fork of Fork of Fork of ICE-6 Bar Graph

0 stars0🌍 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