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)

38eb9cb9a6074f37952935ef36d04d5e

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