Skip to content

Commit

Permalink
feat(mark): add treemap mark (close: #4237)
Browse files Browse the repository at this point in the history
  • Loading branch information
pepper-nice committed Nov 7, 2022
1 parent 294abcd commit 831ef91
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions __tests__/integration/charts/energy-sankey-defaults.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import { G2Spec } from '../../../src';

export async function energySankeyDefaults(): Promise<G2Spec> {
const links = await csv('data/energy.csv', autoType);
console.log(links);

return {
type: 'sankey',
data: { value: { links } },
Expand Down

0 comments on commit 831ef91

Please sign in to comment.