Fork of Fork of Barchart of the restaurant data
✓ Published0🌍 Public
This bar chart displays the ratings of restaurants, with each bar representing a restaurant’s rating on a horizontal scale. It shows how individual restaurant ratings compare, using bar length as the primary channel for the rating value. The visualization is built with React and D3 v5, using `scaleBand` for the categorical restaurant names on the y-axis and `scaleLinear` for the numeric ratings on the x-axis. Data is loaded from a CSV file, either via a default URL or user-selected file, and rendered as SVG rectangles. The chart includes axis labels and gridlines, with styling handled by CSS in the Poppins font.
AI-generated descriptionThis bar chart has been created using html, css, d3.js. CSS is used for styling the webpage.
MIT Licensed