Skip to main content
100%

Bar Chart of Car Productions of the coutries

✓ Published0🌍 Public
KK V VINITHA
Last edited Mar 4, 2022
Created on Mar 4, 2022

This example visualizes the top 10 car-producing countries in 2019 using a horizontal bar chart. The chart displays each country's total car production in units along the x-axis, with country names on the y-axis, and uses steelblue rectangles to represent the data values. The visualization is built with React and D3 v5, loading data from a CSV file via `d3.csv` and creating scales with `d3.scaleBand` and `d3.scaleLinear`. The SVG is rendered directly in the React component, with axes and tick marks generated manually using array mapping rather than D3 axis helpers.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes