{
 "kind": "tool",
 "slug": "lightweight-charts",
 "path": "tools/lightweight-charts/",
 "name": "Lightweight Charts",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Charts and data visualisation",
   "tools/charts/"
  ]
 ],
 "lead": "Performant financial charts library built with HTML5 canvas for trading applications.",
 "chips": [
  {
   "label": "Charts and data visualisation",
   "path": "tools/charts/"
  },
  {
   "label": "NPM"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "npm install lightweight-charts"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/tradingview/lightweight-charts"
  },
  {
   "label": "Website",
   "href": "https://www.tradingview.com/lightweight-charts/"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "Apache-2.0",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from npm.",
   "src": "https://github.com/tradingview/lightweight-charts"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change Nov 18, 2026",
   "note": "Latest GitHub release Nov 10, 2026. ",
   "src": "https://github.com/tradingview/lightweight-charts"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "11 projects",
   "status": "info",
   "sub": "#15 of 95 in its category",
   "note": "Dependency in 11 public GitHub projects set up for AI coding agents that we scanned (0.2%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Install only",
   "status": "info",
   "sub": null,
   "note": "Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.",
   "src": null
  }
 ],
 "vfoot": "From the package registry and GitHub, checked daily.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What Lightweight Charts does",
   "parts": [
    {
     "t": "prose",
     "text": "Performant financial charts library built with HTML5 canvas for trading applications."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "Lightweight Charts popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "61",
       "of": "/ 100",
       "l": "Gid Score, #943 overall"
      },
      {
       "n": "1.8M",
       "l": "downloads a week, npm"
      },
      {
       "n": "18K",
       "l": "GitHub stars"
      },
      {
       "n": "11",
       "l": "agent projects use it"
      }
     ]
    },
    {
     "t": "small",
     "text": "Gid Score measures public popularity and activity, not quality.",
     "link": "How the Gid Score is calculated",
     "path": "tools/top/"
    }
   ]
  },
  {
   "id": "usage",
   "nav": "How it is used",
   "h2": "How Lightweight Charts is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "Lightweight Charts is a dependency in 11 of the 6,258 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750); counting those, it appears in 56 projects, and what it is used with below comes from all of them.",
      "The most used alternative in our scan is Recharts (576 projects).",
      "Projects that use it most often also use viem (55.4%), React (83.9%), ESLint (78.6%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "8 projects, 0.2%",
       "v": "Claude Code",
       "path": "agents/claude-code/"
      },
      {
       "l": "6 projects, 0.2%",
       "v": "Cursor",
       "path": "agents/cursor/"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 55.4% of its projects",
       "v": "viem",
       "path": "tools/viem/"
      },
      {
       "l": "In 83.9% of its projects",
       "v": "React",
       "path": "tools/react/"
      },
      {
       "l": "In 78.6% of its projects",
       "v": "ESLint",
       "path": "tools/eslint/"
      },
      {
       "l": "In 75.0% of its projects",
       "v": "Tailwind CSS",
       "path": "tools/tailwindcss/"
      },
      {
       "l": "In 41.1% of its projects",
       "v": "TanStack Query",
       "path": "tools/tanstack-react-query/"
      },
      {
       "l": "In 94.6% of its projects",
       "v": "TypeScript",
       "path": "tools/typescript/"
      },
      {
       "l": "In 53.6% of its projects",
       "v": "Next.js",
       "path": "tools/next/"
      },
      {
       "l": "In 39.3% of its projects",
       "v": "Recharts",
       "path": "tools/recharts/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about Lightweight Charts",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "More in Charts and data visualisation",
       "path": "tools/charts/",
       "items": [
        {
         "text": "Matplotlib",
         "path": "tools/matplotlib/"
        },
        {
         "text": "Mermaid",
         "path": "tools/mermaid/"
        },
        {
         "text": "XY Flow",
         "path": "tools/xyflow/"
        },
        {
         "text": "Seaborn",
         "path": "tools/seaborn/"
        },
        {
         "text": "Plotly",
         "path": "tools/plotly/"
        },
        {
         "text": "React Chart.js 2",
         "path": "tools/react-chartjs-2/"
        },
        {
         "text": "Diagrams",
         "path": "tools/diagrams/"
        },
        {
         "text": "d3-scale",
         "path": "tools/d3-scale/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "Lightweight Charts",
       "me": true,
       "facts": [
        "Apache-2.0",
        "Gid 61",
        "1.8M/wk"
       ]
      },
      {
       "name": "Recharts",
       "why": "Composable React component library for building responsive charts.",
       "path": "tools/recharts/",
       "facts": [
        "MIT",
        "Gid 85",
        "71.4M/wk"
       ]
      },
      {
       "name": "Chart.js",
       "why": "Simple HTML5 canvas-based charting library for creating interactive data visualizations.",
       "path": "tools/chart-js/",
       "facts": [
        "MIT",
        "Gid 78",
        "18M/wk"
       ]
      },
      {
       "name": "D3.js",
       "why": "JavaScript library for creating data-driven documents with powerful data visualization capabilities.",
       "path": "tools/d3/",
       "facts": [
        "ISC",
        "Gid 81",
        "36M/wk"
       ]
      },
      {
       "name": "Apache ECharts",
       "why": "Powerful interactive charting library for data visualization in browsers.",
       "path": "tools/echarts/",
       "facts": [
        "Apache-2.0",
        "Gid 75",
        "11.4M/wk"
       ]
      },
      {
       "name": "ApexCharts",
       "why": "Interactive JavaScript charting library for creating modern data visualizations.",
       "path": "tools/apexcharts/",
       "facts": [
        "SEE LICENSE IN LICENSE.md",
        "Gid 60",
        "2.9M/wk"
       ]
      }
     ],
     "more": "Compare Lightweight Charts with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "npm install lightweight-charts"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for Lightweight Charts yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "npm lightweight-charts"
  ],
  [
   "Category",
   "Charts and data visualisation"
  ],
  [
   "License",
   "Apache-2.0"
  ],
  [
   "Gid Score",
   "61.1"
  ],
  [
   "Rank in category",
   "#15 of 95"
  ],
  [
   "GitHub",
   "tradingview/lightweight-charts"
  ],
  [
   "Last change",
   "Nov 18, 2026"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": "https://agentgid.com/media/avatars/tradingview.png"
}