semiotic
React data visualization library for streaming, networks, and AI-assisted development
What is semiotic?
React data visualization library for streaming, networks, and AI-assisted development
Overview of semiotic
What it is
Semiotic is a React data visualization library designed for AI-assisted development and streaming data. It provides a set of chart components for building interactive visualizations, including line, bar, scatter, area, network, geographic, and real-time charts. The library emphasizes structured schemas, diagnostics, and rendering evidence to help coding assistants implement, check, and repair chart configurations. It requires React 18.1+ or React 19.
Key features
- Accessor-driven API for standard chart types (line, bar, scatter, area) with consistent props like
xAccessor,yAccessor, andtitle. - Support for coordinated dashboards using
LinkedChartsto share selections across multiple charts. - Real-time streaming charts with decay, including
RealtimeLineChart,RealtimeHistogram, and others, which accept data via a ref'spushmethod. - Network graph components such as
ForceDirectedGraph,SankeyDiagram, andChordDiagram. - Geographic visualization components (
ChoroplethMap,FlowMap,DistanceCartogram) with canvas rendering, zoom/pan, tile basemaps, and animated particles. - Vega-Lite translation via
fromVegaLiteto convert Vega-Lite specs into Semiotic chart configurations. - Custom layout charts and physics-based charts (e.g.,
GaltonBoardChart,CollisionSwarmChart).
Use cases
Semiotic is suited for building interactive dashboards that combine multiple chart types with coordinated interactions. It can be used for monitoring streaming metrics, such as CPU usage or request rates, with real-time updates and decay. Network visualization tasks, including force-directed graphs and Sankey diagrams, are supported. Geographic data visualization, such as choropleth maps and flow maps, is also possible. The library's design for AI-assisted development makes it useful for tasks where a coding assistant needs to generate or repair chart configurations based on structured schemas.
Getting started
bashnpm install semioticRequires React 18.1+ or React 19. For geographic charts, the optional world-atlas peer dependency is needed (npm install world-atlas). See the repository README for complete examples.
License and pricing
The license is Apache-2.0. The library is open source.
Based on the project's public README and repository metadata.