Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Simple Bar Chart

Public visualization

Viewing a saved revision (read-only)

87b14ad7c9da41589fd7cad14def9187

Fork of Simple Bar Chart

0 stars0🌍 Public
Ttejasviteegala@my.unt.edu
Last edited Mar 21, 2024
Created on Mar 19, 2024
Forked from Simple Bar Chart

This visualization displays the top 30 restaurants by their USD ratings in a horizontal bar chart, with restaurant names on the y-axis and numerical ratings on the x-axis. It is built using React (via `ReactDOM.render`) and D3 v5, leveraging `scaleBand`, `scaleLinear`, and `max` for data processing. The chart loads data from a CSV file fetched via a Google Drive URL, and it renders SVG rectangles with customized axis labels. The file input in the header allows users to load their own CSV, though the main chart uses the pre-loaded dataset.

AI-generated description

A bar chart showing the top 10 most populous countries on Earth as of January 1st 2024.

Challenge

  • Fork this viz and modify it to show your own data