Skip to content

Commit ed21251

Browse files
committed
Changing mocked data
1 parent f473ff5 commit ed21251

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

src/dataset-builder/SummaryCharts.ts

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,15 @@ export function generateAgeChartOptions() {
2323
export function generateGenderChartOptions() {
2424
return {
2525
categories: [
26-
{ short: 'Man' },
27-
{ short: 'Woman' },
28-
{ short: 'Nonbinary' },
29-
{ short: 'Transgender' },
30-
{ short: 'Other' },
26+
{ short: 'Female' },
27+
{ short: 'Male' },
28+
{ short: 'Other', long: 'Nonbinary, 2 Spirit, Genderqueer, etc.' },
3129
{ short: 'Prefer not to Say' },
3230
],
3331
series: [
3432
{
3533
colorByPoint: true,
36-
data: [28, 31, 11, 10, 6, 14],
34+
data: [36, 38, 22, 4],
3735
},
3836
],
3937
title: 'Gender Identity',
@@ -49,17 +47,17 @@ export function generateRaceChartOptions() {
4947
return {
5048
categories: [
5149
{ short: 'White' },
52-
{ short: 'Black, African American' },
53-
{ short: 'Hispanic or Latino' },
50+
{ short: 'Black or African American' },
5451
{ short: 'Asian' },
52+
{ short: 'Pacific Islander' },
53+
{ short: 'Native American' },
5554
{ short: 'More than one' },
56-
{ short: 'Other' },
5755
{ short: 'Prefer not to Say' },
5856
],
5957
series: [
6058
{
6159
colorByPoint: true,
62-
data: [24, 18, 16, 8, 27, 5, 2],
60+
data: [30, 25, 20, 8, 6, 10, 1],
6361
},
6462
],
6563
title: 'Race',

0 commit comments

Comments
 (0)