Instaling MUI X Charts for React

MUI X Charts is a fast and extendable library of react chart components for data visualization. Last post update: Abril 15. 2024. For add charts you will need at least Installing main depencences: npm install @mui/material @emotion/react @emotion/styled Then you must install "x-charts" just for charts components: npm install @mui/x-charts You have to create a index component for example: import { StyledEngineProvider } from "@mui/material"; import React from "react"; import Grafica from "./Grafica"; import { PageProps } from "@/types"; const Index = () => { return ( <> <div className="graficas"> <div className="contenedor-grafica"> ...