Skip to main content
100%

Shapes and Colors with SVG and CSS

✓ Published0🌍 Public
Ssarakouz
Last edited Nov 16, 2020
Created on Nov 15, 2020

This bar chart displays the ratings of various restaurants from a CSV dataset, with each bar’s length corresponding to a restaurant’s rating and its vertical position representing the restaurant name. The visualization uses D3 v6’s `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom` to position bars and axes, while SVG rectangles render the data. CSS styles the bars and text, including axis labels and a title, and the chart is generated by importing specific D3 functions in a JavaScript module.

AI-generated description
MIT Licensed

Similar vizzes