:refactor: standard
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Rebecca-Chou 2022-11-30 12:26:14 -05:00
parent 0955b918ea
commit c8f6a97a59
2 changed files with 251 additions and 76 deletions

View File

@ -10,12 +10,28 @@ export const C1 = [
];
export const C2 = [
{ key: "Toronto", value: 32 },
{ key: "California", value: 26 },
{ key: "West CA", value: 12 },
{ key: "East USA", value: 11 },
{ key: "Waterloo", value: 9 },
];
{
text: "Toronto",
value: 32
},
{
text: "California",
value: 26
},
{
text: "West CA",
value: 12
},
{
text: "East USA",
value: 11
},
{
text: "Waterloo",
value: 9
}
]
export const C3 = [
{
@ -29,22 +45,67 @@ export const C3 = [
];
export const C4 = [
{ key: "Google", value: 14 },
{ key: "Jane Street", value: 8 },
{ key: "Meta/Facebook", value: 4 },
{ key: "Databricks", value: 3 },
{ key: "HRT", value: 2 },
{ key: "Cisco Meraki", value: 2 },
{ key: "Apple", value: 2 },
{ key: "Datadog", value: 2 },
{ key: "Shopify", value: 2 },
{ key: "Stripe", value: 1 },
{ key: "Citadel", value: 1 },
{ key: "Faire", value: 1 },
{ key: "Square", value: 1 },
{ key: "Salesforce", value: 1 },
{ key: "Capital One", value: 1 },
];
{
text: "Google",
value: 14
},
{
text: "Jane Street",
value: 8
},
{
text: "Meta/Facebook",
value: 4
},
{
text: "Databricks",
value: 3
},
{
text: "HRT",
value: 2
},
{
text: "Cisco Meraki",
value: 2
},
{
text: "Apple",
value: 2
},
{
text: "Datadog",
value: 2
},
{
text: "Shopify",
value: 2
},
{
text: "Stripe",
value: 1
},
{
text: "Citadel",
value: 1
},
{
text: "Faire",
value: 1
},
{
text: "Square",
value: 1
},
{
text: "Salesforce",
value: 1
},
{
text: "Capital One",
value: 1
}
]
export const C5 = [
{
@ -69,48 +130,171 @@ export const C6 = [
];
export const C7i = [
{ key: "Google", value: 2 },
{ key: "Konrad", value: 1 },
{ key: "Jane Street", value: 2 },
{ key: "Meta/Facebook", value: 2 },
{ key: "Microsoft", value: 2 },
{ key: "Databricks", value: 1 },
{ key: "HRT", value: 2 },
{ key: "Asana", value: 1 },
{ key: "Bloomberg", value: 1 },
{ key: "SAP", value: 1 },
{ key: "Cisco Meraki", value: 1 },
{ key: "Apple", value: 1 },
{ key: "Datadog", value: 1 },
{ key: "Shopify", value: 1 },
{ key: "Stripe", value: 1 },
{ key: "Citadel", value: 1 },
{ key: "Faire", value: 1 },
{ key: "Square", value: 1 },
{ key: "Salesforce", value: 1 },
{ key: "Capital One", value: 1 },
{ key: "Wish", value: 1 },
{ key: "Thomson Reuters", value: 1 },
{ key: "Uber", value: 1 },
{ key: "Rippling", value: 1 },
{ key: "Intel", value: 1 },
{ key: "NVIDIA", value: 1 },
{ key: "Twitch", value: 1 },
{ key: "RBC", value: 1 },
{ key: "Huawei", value: 1 },
{ key: "LinkedIn", value: 1 },
{ key: "Lyft", value: 1 },
{ key: "1Password", value: 1 },
{ key: "IBM", value: 1 },
{ key: "Snowflake", value: 1 },
{ key: "Autodesk", value: 1 },
{ key: "Tableau", value: 1 },
{ key: "Yugabyte", value: 1 },
{ key: "Twitter", value: 1 },
{ key: "Tesla", value: 1 },
{ key: "Coursera", value: 1 },
{ key: "EA", value: 1 },
];
{
text: "Google",
value: 2
},
{
text: "Konrad",
value: 1
},
{
text: "Jane Street",
value: 2
},
{
text: "Meta/Facebook",
value: 2
},
{
text: "Microsoft",
value: 2
},
{
text: "Databricks",
value: 1
},
{
text: "HRT",
value: 2
},
{
text: "Asana",
value: 1
},
{
text: "Bloomberg",
value: 1
},
{
text: "SAP",
value: 1
},
{
text: "Cisco Meraki",
value: 1
},
{
text: "Apple",
value: 1
},
{
text: "Datadog",
value: 1
},
{
text: "Shopify",
value: 1
},
{
text: "Stripe",
value: 1
},
{
text: "Citadel",
value: 1
},
{
text: "Faire",
value: 1
},
{
text: "Square",
value: 1
},
{
text: "Salesforce",
value: 1
},
{
text: "Capital One",
value: 1
},
{
text: "Wish",
value: 1
},
{
text: "Thomson Reuters",
value: 1
},
{
text: "Uber",
value: 1
},
{
text: "Rippling",
value: 1
},
{
text: "Intel",
value: 1
},
{
text: "NVIDIA",
value: 1
},
{
text: "Twitch",
value: 1
},
{
text: "RBC",
value: 1
},
{
text: "Huawei",
value: 1
},
{
text: "LinkedIn",
value: 1
},
{
text: "Lyft",
value: 1
},
{
text: "1Password",
value: 1
},
{
text: "IBM",
value: 1
},
{
text: "Snowflake",
value: 1
},
{
text: "Autodesk",
value: 1
},
{
text: "Tableau",
value: 1
},
{
text: "Yugabyte",
value: 1
},
{
text: "Twitter",
value: 1
},
{
text: "Tesla",
value: 1
},
{
text: "Coursera",
value: 1
},
{
text: "EA",
value: 1
}
]
export const C7ii = {
xValues: ["1", "2", "3", "4", "5", "6"],

View File

@ -69,10 +69,7 @@ export default function CoopPage() {
align="center"
>
<WordCloud
data={C2.map((word) => ({
text: word.key,
value: word.value,
}))}
data={C2}
// For components that we don't want to match the width necessarily we can provide direct values
width={isMobile ? pageWidth / 1.5 : 900}
height={DefaultProp.graphHeight * 0.7}
@ -101,10 +98,7 @@ export default function CoopPage() {
noBackground
>
<WordCloud
data={C4.map((word) => ({
text: word.key,
value: word.value,
}))}
data={C4}
// For components that we don't want to match the width necessarily we can provide direct values
width={isMobile ? pageWidth / 1.5 : 800}
height={DefaultProp.graphHeight}
@ -143,10 +137,7 @@ export default function CoopPage() {
align="center"
>
<WordCloud
data={C7i.map((word) => ({
text: word.key,
value: word.value,
}))}
data={C7i}
// For components that we don't want to match the width necessarily we can provide direct values
width={isMobile ? pageWidth / 1.5 : 800}
height={DefaultProp.graphHeight}