🌍 Public
Viewing a saved revision (read-only)
154cd829052844f2a49bfe29271b217b
task5
This visualization shows the top ten populous countries or restaurants ranked by review stars, displaying horizontal bars for each entry in descending order. The data comes from a CSV file listing restaurants with their average star ratings, rendered as an SVG bar chart using D3 v5. The code uses `scaleLinear` for the x-axis star values, `scaleBand` for the categorical y-axis restaurant names, and `axisLeft`/`axisBottom` for the axes. Bar heights and widths are computed from the data, with a labeled title and axis text styled via CSS.
AI-generated descriptionIt is the data of top ten populous countries in the world, according to the report by UN