Stylized Bar Chart
✓ Published0🌍 Public
This stylized bar chart displays the top 9 most profitable companies in 2019, using horizontal bars ranked by profit value. Built with React and D3 v5, it renders as an SVG and uses `scaleBand` for the categorical y-axis and `scaleLinear` for the numeric x-axis. The `useData` hook loads a CSV from a GitHub gist, while custom `AxisBottom` and `AxisLeft` components generate styled tick marks with pink text and orange lines. Hovering over each bar reveals a native SVG tooltip showing the formatted profit value.
AI-generated descriptionA program that shows the top 10 most populous countries as a bar chart.
MIT Licensed