# QuaCharts by QuaTick > High-performance, zero-dependency charting library for JavaScript, React, and Next.js. Dual-engine Canvas 2D and WebGL 2 acceleration, 12 native financial candlestick formats, options strategy payoff curves, DuckDB simulation, and 80+ chart presets. 100% free for individual developers, quantitative researchers, and open-source projects. ## Quick Start ```bash npm install @quatick/web-charts ``` ```typescript import { createLineChart } from '@quatick/web-charts'; const chart = createLineChart('#chart-container', { title: 'Realtime Latency Feed', theme: 'midnight', xAxis: { type: 'datetime' }, yAxis: { title: 'p99 Latency (ms)' }, series: [{ id: 'p99', name: 'Latency', data: [[1700000000, 12.4], [1700000060, 9.8]] }], renderer: 'auto', // switches to WebGL 2 when dataset > 50,000 points }); ``` ## Core Capabilities & Competitive Advantages - **Zero Dependencies**: Lightweight footprint, ultra-fast initial load, zero supply-chain risk. - **Dual-Engine Rendering**: Canvas 2D for crisp text and sharp lines; WebGL 2 GPU acceleration for 10M+ streaming points at 60 FPS. - **Quantitative Financial Suite**: 12 native candle formats (Candlestick, Heikin-Ashi, Renko, Kagi, Point & Figure), volume profile, order book depth DOM, multi-leg options strategy payoff diagrams, and vectorized DuckDB backtesting. - **Commercial Alternative**: Drop-in high-performance alternative to Highcharts, Chart.js, Recharts, and Apache ECharts. - **Accessibility**: WCAG 2.2 AA compliant keyboard navigation and high contrast mode. ## Core Pages - [Home](https://quacharts.com): Overview of QuaCharts engine, rendering pipelines, and features. - [Demos Gallery](https://quacharts.com/demos): Browse 80+ interactive chart presets across 9 families. - [Advanced Financial Studio](https://quacharts.com/advanced-financial): 12 candle formats, options payoff diagrams, and DuckDB simulation. - [Interactive Playground](https://quacharts.com/playground): Live code sandbox with real-time options editor and JSON exporter. - [Documentation Hub](https://quacharts.com/docs): Getting started guides, architecture, recipes, and best practices. - [API Reference](https://quacharts.com/api-reference): Highcharts-style reference for every chart option, method, and event. - [Pricing & Licensing](https://quacharts.com/pricing): Free forever for individuals; commercial licenses for corporate SaaS products. - [Charts API Upgrades](https://quacharts.com/upgrades): Developer SDK, websocket data streaming, and white-label integration. - [Granular Heatmap](https://quacharts.com/granular-heatmap): 8,500+ point hourly density heatmap with Canvas boost. - [HTML Sitemap Directory](https://quacharts.com/sitemap): Comprehensive directory of all pages and presets. ## Chart Families (80+ Types) - [XY Charts](https://quacharts.com/demos/xy): Cartesian visualisations: single line, smooth spline, column, bar, scatter, bubble, and bridges. - [Shapes & Proportions](https://quacharts.com/demos/shapes): Circular geometry: pie with smart labels, variable radius, doughnut rings, and polar coordinates. - [Gauges & Clocks](https://quacharts.com/demos/gauges): Needle speedometers, solid KPI threshold meters, and concentric activity progress clocks. - [Heatmaps & Matrices](https://quacharts.com/demos/heatmaps): Two-dimensional scalar data grids: correlation matrices, volatility surfaces, and microstructure footprints. - [Stock & Financial](https://quacharts.com/demos/financial): High-frequency trading charts: candlesticks, volume, technical indicators, order book DOM, and backtesting. - [Hierarchy & Trees](https://quacharts.com/demos/hierarchy): Part-to-whole and relational nested structures: treemaps, radial sunbursts, circle packing, and decision trees. - [Flow & Timelines](https://quacharts.com/demos/flow): Flow conservation, bilateral ribbons, conversion funnels, and continuous roadmaps. - [Maps & Geo](https://quacharts.com/demos/maps): Equirectangular sovereign world atlas with vector raycasting country selection and geographic hub markers. - [3D & GPU Acceleration](https://quacharts.com/demos/three-d): GPU-accelerated WebGL 2 volumetric point clouds, PBR surfaces, and million-point benchmarks. - [Astrophysics & Cosmic](https://quacharts.com/demos/astrophysics): True-scale cosmic simulations: planetary bodies, relativistic gravitational lensing & exoplanets. - [Simulated Physics](https://quacharts.com/demos/physics): Enterprise hardware-accelerated physics simulations: kinematics, friction, orbital gravitation, Bernoulli lift, vortex CFD, Maxwell-Boltzmann kinetic theory, Carnot cycles, Gauss fields, Lorentz cyclotron, Faraday-Lenz braking, LCR resonance, Cauchy prism optics, photoelectric quantum, Bohr hydrogen atom, nuclear fission, and semiconductor diodes. - [Earth & Globe](https://quacharts.com/demos/earth): Terrestrial geodesics, bathymetric parallels, NASA Blue Marble, orbital satellite mechanics & urban extrusions. - [Amazing Human](https://quacharts.com/demos/human): Hardware-accelerated 3D human simulations: beating cardiovascular heart, cerebral connectome, DNA double helix, locomotion gait & pulmonary gas exchange. ## Developer Documentation Guides - [Introduction to QuaCharts](https://quacharts.com/docs/getting-started/introduction) (Getting started): Enterprise-grade visualization engine for high-frequency financial platforms, analytics consoles, and mission-critical web applications. - [Installation & Setup](https://quacharts.com/docs/getting-started/installation) (Getting started): Package manager setup, tree-shaking configuration, TypeScript definitions, and bundle footprint analysis. - [Quick Start: First Chart & First Calendar](https://quacharts.com/docs/getting-started/quick-start) (Getting started): Hands-on walkthrough to instantiate interactive charts and financial calendars with live data in 5 minutes. - [React & Next.js Integration](https://quacharts.com/docs/getting-started/react-nextjs) (Getting started): Production integration with React 19 and Next.js 15/16 App Router: SSR boundaries, dynamic imports, lifecycle management, and custom hooks. - [Chart.js Alternative — Why Developers Switch to QuaCharts](https://quacharts.com/docs/getting-started/chartjs-alternative) (Getting started): In-depth comparison between Chart.js and QuaCharts. Discover 100x faster WebGL 2 GPU acceleration, zero dependencies, native financial candlesticks, and step-by-step migration guide. - [Architecture & Engine Internals](https://quacharts.com/docs/core-concepts/architecture) (Core concepts): Under the hood: RenderLoop, dirty-flag batching, transform matrices, headless state machines, and hardware decoupling. - [Rendering Pipelines: Canvas 2D, WebGL 2 & Hybrid](https://quacharts.com/docs/core-concepts/rendering-pipelines) (Core concepts): Deep dive into rendering pipelines: when to select Canvas 2D vs WebGL 2, automatic threshold handoff, and layered hybrid rendering. - [Axes, Scales & Coordinate Projections](https://quacharts.com/docs/core-concepts/axes-scales) (Core concepts): Linear, logarithmic, time-series, categorical scales, multi-axis stacking, and dual Y-axes synchronization. - [Series Data Structures & Streaming](https://quacharts.com/docs/core-concepts/series-data) (Core concepts): Data input formats, TypedArray buffers, real-time push/append, circular ring buffers, and batch updates. - [Theming & Visual Customization](https://quacharts.com/docs/core-concepts/theming-styling) (Core concepts): Built-in color presets (Dark, Light, Midnight, Matrix), CSS custom properties, and runtime theme switching. - [Interactivity, Crosshairs & Tooltips](https://quacharts.com/docs/core-concepts/interactivity-tooltips) (Core concepts): Crosshair snapping, shared hover tooltips, box zoom, pinch-to-zoom on mobile, and magnetic point inspection. - [Events API & Programmatic Methods](https://quacharts.com/docs/core-concepts/events-api-methods) (Core concepts): EventBus subscriptions, lifecycle hooks, viewport manipulation methods, and headless imperative controls. - [Charts Catalog & Selector Guide](https://quacharts.com/docs/charts/overview) (Charts): Comprehensive taxonomy of all 12+ QuaCharts visualization families: Cartesian, Financial, Flow, Hierarchy, Heatmaps, Maps, and 3D. - [Cartesian Series: Line, Area, Column & Bar](https://quacharts.com/docs/charts/cartesian-series) (Charts): Line, Area, Spline, Step, Column, Bar, Scatter, Bubble, Range Area, and Waterfall series configuration. - [Financial Stock Charts & OHLC Engine](https://quacharts.com/docs/charts/financial-stock) (Charts): Production financial charting: Candlestick, OHLC, Heikin-Ashi, Volume by Price, Range Navigator, and timeframe resolution bars. - [Technical Indicators & Quantitative Overlays](https://quacharts.com/docs/charts/technical-indicators) (Charts): Mathematical overlays & oscillators: SMA, EMA, Bollinger Bands, RSI, MACD, SuperTrend, ATR, and Volume-Weighted Average Price (VWAP). - [Polar, Gauges & Radial Visualizations](https://quacharts.com/docs/charts/polar-gauges) (Charts): Circular and angular visualization models: Pie, Donut, Semi-Circle Speedometer, Dial Gauges, Activity Rings, and Radar charts. - [Hierarchy & Flow: Treemap, Sunburst & Sankey](https://quacharts.com/docs/charts/hierarchy-flow) (Charts): Squarified treemaps, radial sunbursts, directed Sankey flows, and Chord relationship matrices. - [High-Density Heatmaps & Performance Matrices](https://quacharts.com/docs/charts/heatmaps) (Charts): Granular trading order book heatmaps, asset correlation matrices, and Hedge Fund monthly return calendar heatmaps. - [Geographic Maps & Spatial Visualizations](https://quacharts.com/docs/charts/maps-geographic) (Charts): GeoJSON vector map projections, Choropleths, regional heat layers, flight trajectories, and Deck.gl integration. - [3D & Hybrid Charts: Volatility Surfaces](https://quacharts.com/docs/charts/three-d-hybrid) (Charts): Three-dimensional financial data: 3D Volatility Surfaces (Strike vs Expiry vs IV), 3D Scatter, and hybrid 2D/3D camera synchronization. - [Enterprise Calendars Architecture & Models](https://quacharts.com/docs/calendars/overview) (Calendars): Architecture of @quatick/calendar: headless state machine, RFC 5545 recurrence engine, financial agendas, and multi-view calendar models. - [Trading Calendar: Market Sessions & OpEx Cycles](https://quacharts.com/docs/calendars/trading-calendar) (Calendars): Deep dive into QuatickTradingCalendar: market exchange sessions, pre/post market hours, holidays, early closures, and options expiration (OpEx) cycles. - [Economic Calendar: Macro Indicators & Central Banks](https://quacharts.com/docs/calendars/economic-calendar) (Calendars): Deep dive into QuatickEconomicCalendar: Central bank rate decisions (FOMC, ECB, BOJ), CPI inflation prints, Non-Farm Payrolls, volatility impact filtering, and real-time countdowns. - [Option Calendar Studio & Expiration Cycles](https://quacharts.com/docs/calendars/option-calendars) (Calendars): Deep dive into OptionCalendarStudio: Options expiration cycles, implied volatility smile/skew across expirations, Greek decay, and multi-leg calendar spreads. - [Resource Scheduler & Booking Appointments](https://quacharts.com/docs/calendars/resource-scheduler) (Calendars): Multi-column timelines, trading desk allocation, compute cluster reservations, and automated booking conflict resolution. - [Calendar API, Theming & Modifiers Hook](https://quacharts.com/docs/calendars/calendar-api-theming) (Calendars): Comprehensive API reference for @quatick/calendar: useCalendarModifier hook, theme presets, density modes, view switching, and ICS export. - [Performance Optimization & Benchmarks (1M+ Points)](https://quacharts.com/docs/enterprise/performance-benchmarks) (Enterprise): GPU instanced rendering, Largest-Triangle-Three-Buckets (LTTB) downsampling, zero-allocation ring buffers, and sub-16ms frame times. - [Real-Time Streaming & High-Frequency Ingestion](https://quacharts.com/docs/enterprise/realtime-streaming) (Enterprise): WebSocket data streaming, circular ring buffers, micro-batching, differential DOM updates, and 24/7 memory stability. - [Accessibility & WCAG 2.1 Compliance](https://quacharts.com/docs/enterprise/accessibility-a11y) (Enterprise): Screen reader support, ARIA live announcements, keyboard navigation (arrow keys, focus traps), and high-contrast colorblind modes. - [Exporting, PDF Reports & Worksheets](https://quacharts.com/docs/enterprise/exporting-reporting) (Enterprise): Client-side and server-side exports: Vector SVG, high-DPI PNG/JPEG (1x, 2x, 4x), automated PDF executive reports, and Excel spreadsheets. - [Security, Strict CSP & Air-Gapped Deployments](https://quacharts.com/docs/enterprise/security-compliance) (Enterprise): Content Security Policy rules without unsafe-eval, zero external runtime asset dependencies, XSS sanitization, and SOC 2 / ISO 27001 readiness. - [Changelog, Roadmap & Migration Guides](https://quacharts.com/docs/enterprise/changelog-migrations) (Enterprise): Version releases, semantic versioning policies, breaking changes, and migration recipes from legacy Chart.js, Highcharts, and Lightweight Charts. ## Machine-Readable Resources - [Full LLM Specification](https://quacharts.com/llms-full.txt): Comprehensive deep context with configuration schemas and code examples. - [XML Sitemap](https://quacharts.com/sitemap.xml): Complete machine-readable XML index of all pages and demos.