Fork of Reusable D3 Scatter Plot
✓ Published0🌍 Public
The scatter plot visualizes nutritional values—carbohydrates, protein, and total fat—for McDonald's top ten selling menu items, using a red, blue, and green circle for each nutrient per item. It loads CSV data via `d3.csv` and renders SVG circles positioned with `d3.scaleBand` for the x-axis and `d3.scaleLinear` for the y-axis. Axes are generated with `d3.axisBottom` and `d3.axisLeft`, with rotated labels, while `d3.select` and `append` build the chart.
AI-generated descriptionScatter plot for nutritional values of top 10 most selling items of Mc Donalds
MIT Licensed