Skip to main content
100%

Scatterplot of the restaurant data

✓ Published4🌍 Public
Kkoteswararao614@gmail.com
Last edited Mar 20, 2024
Created on Mar 19, 2024
Forked from HTML Starter

This scatterplot displays the relationship between restaurant ratings (on the x-axis) and total review counts (on the y-axis), using one circle per restaurant. The visualization reveals whether higher-rated establishments tend to attract more reviews. The code loads data from a CSV file using `d3.csv`, scales the axes with `d3.scaleLinear`, and renders circles as SVG elements. It applies margins for axis placement, labels both axes with rotated text for the y-axis, and styles circles with a brown fill and light border. The chart is built with D3.js v6, rendering to SVG within an HTML page.

AI-generated description

This scatterplot is between rating and total reviews of the restaurant. It has been created using html,css and js.

MIT Licensed

Similar vizzes