v0.4.0
✨ ML / deep-learning chart pack (@photonviz/core)
Classification metrics (confusion matrix, ROC + AUC, precision–recall + AP,
calibration + ECE), a PCA reducer + embedding projector, explainability
(feature importance, SHAP beeswarm, partial dependence, attention maps), and
training-monitoring charts (EMA-smoothed training curves, ridgeline). All
composed addX(plot, opts) builders; the pure metrics are unit-tested and the
whole pack is re-exported from every framework wrapper. New examples/ml app +
an ML tab in every gallery + playground presets.
⚠️ Breaking — maps decoupled, @photonviz/map removed
The @photonviz/map package has been removed. The framework wrappers no longer
depend on it and no longer ship <Map> / <GeoJson> components or map /
geojson series. If you need a basemap, add it imperatively on the core
Plot (addMap / addGeoJson) via onReady / usePlot / the Web
Components .plot getter.
🩹 Fixes
- Legend now shows only explicitly
named series — auto-id helper layers
(fills, ICE curves, raw pre-smoothing lines) no longer clutter it.
📚 Docs & discoverability
- Live demo + playground: https://coredumpdev.github.io/photon/
llms.txt/llms-full.txt+AGENTS.md— docs for AI coding agents.- npm / downloads / size badges,
CODE_OF_CONDUCT,SECURITY,FUNDING.