Skip to content

Commit 3df78fa

Browse files
committed
Add EuropeanCountries story to GeoChart
Introduce a new story for the GeoChart component that visualizes views data for various European countries, enhancing the demonstration of region and resolution props.
1 parent 47c00d4 commit 3df78fa

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

projects/js-packages/charts/src/charts/geo-chart/stories/index.stories.tsx

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,23 @@ export const USStates: Story = {
5858
],
5959
},
6060
};
61+
62+
export const EuropeanCountries: Story = {
63+
args: {
64+
...geoChartStoryArgs,
65+
region: '150',
66+
resolution: 'countries',
67+
data: [
68+
[ 'Country', 'Views' ],
69+
[ 'United Kingdom', 1500 ],
70+
[ 'France', 1000 ],
71+
[ 'Germany', 800 ],
72+
[ 'Italy', 600 ],
73+
[ 'Spain', 500 ],
74+
[ 'Portugal', 400 ],
75+
[ 'Greece', 300 ],
76+
[ 'Turkey', 200 ],
77+
[ 'Russia', 100 ],
78+
],
79+
},
80+
};

0 commit comments

Comments
 (0)