🌍 Public
Viewing a saved revision (read-only)
02b7906276ed44e48670e40bd82e1e6b
Fork of Reusable ScatterPlot for Restaurant Data
This scatter plot visualizes restaurant data, mapping profit in millions against restaurant ratings for each data point. Built with D3.js (v6.7.0) and SVG, it uses a reusable `scatterPlot` function with scales, axes, and circles. The chart automatically cycles through different y-axis variables—restaurant rating, total reviews, and rating again—every 3 seconds, updating the axis labels and redrawing the plot via `setInterval`. Data is loaded from a CSV file hosted on GitHub, and the visualization is styled with the Poppins font and a custom color scheme.
AI-generated descriptionThe reusable scatterplot is created by using html, css, d3.js.