Skip to main content
100%

ICE-06 Stylized Bar Chart

✓ Published0🌍 Public
TTejaswi@3271
Last edited Mar 7, 2022
Created on Mar 6, 2022
Forked from HTML Starter

This bar chart displays the top 9 most profitable companies in 2019, using horizontal bars to compare profit values. The visualization loads CSV data via the `useData` hook and D3's `csv` method, scaling values with `scaleBand` for the y-axis and `scaleLinear` for the x-axis. Profit values are formatted in billions using `format('.4s')`. The chart renders as an SVG using React components, with styled axes and bars defined in CSS, and includes a tooltip on each bar showing the formatted profit value.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes