Skip to main content
100%

using a bar garph with text file

✓ Published0🌍 Public
Rrayray196
Last edited Apr 13, 2023
Created on Apr 13, 2023
Forked from HTML Starter

This example shows a bar chart intended to display country populations from a CSV file, but the visualization is incomplete—the code only loads and parses the data without rendering any bars. It reads `data.csv` using D3’s `csv` method, converts the population values to numbers and multiplies them by 1000, then logs the result to the console. The chart relies on D3 v7 and React, but the current implementation stops at data preparation, leaving the visual output unmade.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes