What is the best way to make a chart in react 18 ?

This page summarizes the projects mentioned and recommended in the original post on /r/reactjs

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • victory

    A collection of composable React components for building interactive data visualizations

  • Victory is great, it doesn't officially support React 18 yet, you'll get warnings because the peer version is still looking for React 17, but it shouldn't be an issue if you force install. It's really just that the tests won't work with React 18, but it should be fine to use it in your project.

  • react-chartjs-2

    React components for Chart.js, the most popular charting library

  • react-chartjs-2 seems to support React 18: https://github.com/reactchartjs/react-chartjs-2

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • nivo

    nivo provides a rich set of dataviz components, built on top of the awesome d3 and React libraries

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts