Logo FS-Skia-UI

Controls Gallery — Charts & Graphs Page Spec

Inherits the shell, palette, pointer contract, keyboard contract, and determinism rules from 00-controls-gallery-overview.md.

Goal

Demonstrate every data-visualization control — line, bar, pie, scatter, and the node/edge graph — rendering multi-series data in the categorical palette, with pointer hover highlighting and click selection of series, slices, points, and nodes.

Controls Demonstrated

Control

Module

Required

Events

Demonstrates

line-chart

LineChart

series

onSelected

Multi-series trend lines

bar-chart

BarChart

series

onSelected

Grouped/stacked bars

pie-chart

PieChart

values

onSelected

Part-to-whole slices

scatter-plot

ScatterPlot

series

onSelected

Point clouds across series

graph-view

GraphView

nodes

onSelected

Nodes and edges

User Experience

The page is a dashboard grid of five visualizations sharing one dataset theme and the categorical palette. Hovering a series, slice, point, or node highlights it and shows a value readout; clicking selects it and fires onSelected, updating a shared "Selection detail" panel. A legend maps each series color to its name.

Layout

Mouse & Pointer Interactions

Keyboard

Core Behaviors

Data Model

Visual / Palette Requirements

App State

Track: shared dataset; graph nodes/edges; per-chart hovered and selected keys; selection-detail snapshot; seed.

Determinism and Evidence

Acceptance Criteria

Out of Scope

Type something to start searching.