🌍 Public
Viewing a saved revision (read-only)
a531d156c0944a81a5515ae767232231
let's make a bar chart.js
This example displays a horizontal bar chart mapping categorical country labels to numeric values from a CSV file. The visualization uses D3.js v5 APIs including `scaleLinear` for the value axis and `scaleBand` for the country axis, with SVG rectangles rendered inside a 960×500 canvas. The data is loaded asynchronously via `csv`, and the chart is generated entirely from the provided data.csv dataset, showing one bar per country with widths proportional to the parsed value field.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.