Skip to main content
100%

Fork of Line Chart ice 7

✓ Published0🌍 Public
MM Hema
Last edited Mar 27, 2024
Created on Mar 27, 2024

This example visualizes restaurant profit trends from 1985 to 2024 using a line chart with overlaid circular points. The visualization combines a D3.js v7 line path and scatter-style circles to show profit values across years, with hover tooltips revealing exact figures. The code uses `d3.scaleBand` for the time axis and `d3.scaleLinear` for the profit axis, while the data comes from a remote JSON file. The line path and points are both styled with green fills, transitioning to orange on hover.

AI-generated description
MIT Licensed

Similar vizzes