CustomCharts.js

Lightweight SVG chart library · Zero dependencies · 12 chart types

CustomCharts.js is a modern, pure-JavaScript SVG chart library built with zero external dependencies. Smooth animations, interactive tooltips, dark mode support, and full responsiveness — all in a single lightweight file.

12
Chart Types
0
Dependencies
SVG
Pure Vector
Features Smooth Animations Interactive Tooltips Dark & Light Mode Fully Responsive Real-time Streaming Legend Toggle Export SVG / PNG Plugin System
Core Charts

Line Chart

Smooth Curves

Monthly revenue vs expenses with Catmull-Rom smooth curves, gradient fill, and interactive hover.

Bar Chart

Vertical

Weekly website vs mobile app visitors with grouped bars, gradient fill, and animated entry.

Area Chart

Gradient Fill

Quarterly product sales across two years with stacked gradient area fill and smooth tension curves.

Pie Chart

Proportions

Browser market share breakdown with connector lines, percentage labels, and per-slice gradient depth.

Donut Chart

Center Label

Task completion status with a configurable cutout ratio, center summary label, and arc percentage text.

Horizontal Bar

Categories

Programming language popularity rankings with horizontal gradient bars and animated left-to-right entry.

Scatter Plot

Data Points

Two clusters of randomised (x, y) data points with nearest-point hover detection and elastic animation.

Bubble Chart

3D Data

Three-dimensional dataset visualisation (x, y, size) for Technology vs Finance sector risk/return analysis.

Radar Chart

Multi-axis

Six-axis player attribute comparison with gradient polygon fill, alternating grid bands, and glow points.

Mixed Chart

Bar + Line

Combined bar + line chart overlay in a single canvas — revenue bars with a profit margin trend line.

Gradient Line

Styled

CPU usage over time with custom gradient stroke, deep tension curves, and draggable point highlights.

Real-time Chart

Live Data

Live-streaming requests and error rates updating every 1.5 s via the built-in real-time data API.