Pseudo PL Plot
✓ Published1🌍 Public
This example displays a cumulative expected points (xP) progression across ten match weeks for a single team, with circles marking each match and a red line connecting them. The visualization renders in an SVG generated by D3 v7, using the `d3.line` generator to create the path for the line and data joins with `.join()` to bind the circles. The custom `lineTest` and `xPosition` functions independently map match week and xP values to coordinates, with circle positioning based on the raw data and the line path derived from the same coordinate system.
AI-generated descriptionLine() path help from: https://benclinkinbeard.com/d3tips/creating-svg-paths-with-d3line/
MIT Licensed