+
{header}
{description}
@@ -98,12 +111,6 @@ export default class Pie extends Component {
-
-
-
- {header}
- {description}
-
+
+
+ {header}
+ {description}
+
+
)
}
diff --git a/website/src/components/charts/pie/PiePage.js b/website/src/components/charts/pie/PiePage.js
index b54629e08..14e3ed69f 100644
--- a/website/src/components/charts/pie/PiePage.js
+++ b/website/src/components/charts/pie/PiePage.js
@@ -11,7 +11,7 @@ import Helmet from 'react-helmet'
import { generateProgrammingLanguageStats } from '@nivo/generators'
const generateData = () => {
- return generateProgrammingLanguageStats(true, 9).map(d => ({
+ return generateProgrammingLanguageStats(true, 7).map(d => ({
id: d.label,
...d,
}))
diff --git a/website/src/components/charts/pie/defaultProps.js b/website/src/components/charts/pie/defaultProps.js
index 25de60f36..c4c0f0c0b 100644
--- a/website/src/components/charts/pie/defaultProps.js
+++ b/website/src/components/charts/pie/defaultProps.js
@@ -12,7 +12,7 @@ export default {
height: 800,
margin: {
- top: 80,
+ top: 40,
right: 80,
bottom: 80,
left: 80,
@@ -24,7 +24,7 @@ export default {
cornerRadius: 3,
// Styling
- colors: 'nivo',
+ colors: 'd320c',
colorBy: 'id',
// border