Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
viser-simple-line
type data = Array<{
year: string
value: number
}>
<Chart height={400} data={data}>
<Axis />
<Line position="year*value" />
<Point position="year*value" shape="circle"/>
</Chart>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment