Skip to content

Instantly share code, notes, and snippets.

@BetterProgramming
Created January 6, 2020 23:19
Show Gist options
  • Save BetterProgramming/1dddcc875902f4178616bc3a744514ba to your computer and use it in GitHub Desktop.
Save BetterProgramming/1dddcc875902f4178616bc3a744514ba to your computer and use it in GitHub Desktop.
...
import {
AreaChart,
XAxis,
YAxis,
Tooltip,
Area,
ResponsiveContainer
} from "recharts";
...
<ResponsiveContainer height={250}>
<AreaChart data={dataArr}>
...
</AreaChart>
</ResponsiveContainer>
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment