{"version":"1.0","type":"rich","title":"Fork of Trend line with legend","description":"This example shows two synchronized line charts of water level measurements over time, with a brushable overview chart below that filters the main chart’s visible date range. The main chart displays orange and blue series for two wells, alongside a dashed gray regression trendline computed via least squares and a text label with its equation. A color legend identifies the series. The charts use D3 v5’s `scaleTime`, `scaleLinear`, `line`, `brushX`, and `nest` to render SVG paths, while brushing calls `setBrushCoords` to update the trendline and domain.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/dd370daac630497c85b81a431d7e4d97?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}