Files
landing_page/qdrant-landing
Kumar ShivenduandClaude Opus 5 be56b1948b refactor(viz): keep chart viz data and config together (#2781)
Every chart's spec lived in one shared data/viz-charts.json array, keyed by an
id that was already the path to its files. Each chart is now self-contained:
assets/viz/<id>.{json,csv,svg}, one folder holding everything about it.

Because the id is the path, a spec no longer repeats it or the data path, and
the shortcode resolves a chart directly instead of scanning the array.

Drops three keys that were never decisions. width was 980 on all seven and now
lives in data/viz.json alongside the legend spacing, where the generator and
the shortcode read the same number. extraHeight was the legend's own offset
leaking out of the generator into both the spec and the viewBox, so it is
derived from the chart kind. Tooltip units come from the column suffix.

232 lines become 187 across 7 files, while adding the title that 5 charts were
missing. chart.markdown.md reads that title, so those five had no heading above
their table in the Markdown output.

Parses CSVs with d3-dsv instead of split(','), which would shift every column
right on a label containing a comma. Already installed as a Plot dependency;
now declared.

Every SVG is byte-identical and all 6 chart pages render identical HTML. The
only rendered change is the 5 restored Markdown headings.

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-09-24 14:20:46 +05:30
..
2026-06-04 15:53:31 +02:00
2026-05-07 15:49:20 +02:00
…
2026-07-30 17:18:49 +02:00