Architecture & Extensibility

Polymorphic Schema & Chart Registry Design

PlotTheChart is designed so new visualization types and custom data-input schemas can be added without rewriting the core application or migrating database tables. Each chart type registers its own Zod data schema, adaptive input UI, SVG renderer, and chart-specific configuration fields.

Bar Chart

tabular-series

Compare categorical values across single or multiple series (grouped or stacked).

Line Chart

tabular-series

Visualize continuous trends, trajectories, and rate-of-change over ordered intervals.

Area Chart

tabular-series

Highlight volume and cumulative magnitude beneath continuous series trends.

Pie / Donut Chart

proportional-slices

Show part-to-whole proportional distribution using a custom slice & percentage input builder.

Scatter / Bubble Plot

coordinate-points

Analyze correlations, clusters, and outliers across continuous (X, Y, Size) coordinates.

Radar / Spider Chart

tabular-series

Compare multivariate profiles across radial axes arranged around a central origin.

Hierarchical Treemap

hierarchical-tree

Visualize nested parent-child tree hierarchies using area-proportional tiled rectangles.