diff --git a/pages/course/scales/linear-scale.tsx b/pages/course/scales/linear-scale.tsx index 2696c9743..be212fd83 100644 --- a/pages/course/scales/linear-scale.tsx +++ b/pages/course/scales/linear-scale.tsx @@ -267,27 +267,33 @@ const exercices: Exercise[] = [ whyItMatters: ( <>
- The logic behind each functions of the d3-shape
module is
- the same.
+ There is no way you can build this kind of chart with a charting
+ library like plotly
or highCharts
.
- If you have a good understanding of d3.line(), you're on the right way
- to build any other chart type!
+ Thanks to d3
, we can build literally anything. It's just
+ a bit of mental gymnastic!
- Let's create a mirror histogram!! The mirror histogram looks like
- this:
+ Let's create a mirror histogram! Check the solution
tab
+ to see how it must look like.
23
, 55
, 87
on the
- left, and 12
, 43
, 98
on the
- right
+ There are 3 bars on the left, and 3 and on the right. All starting
+ from the center.
+ padding
is added in the center.
+ 23
, 55
, 87
on
+ the left, and 12
, 43
, 98
on
+ the right. Axes go from 0 to 100.
TODOOOOOOOOO{/* - - - diff --git a/viz/exercise/linearScaleMirrorSolution/Graph.tsx b/viz/exercise/linearScaleMirrorSolution/Graph.tsx index e803e1b82..3b6a42a3f 100644 --- a/viz/exercise/linearScaleMirrorSolution/Graph.tsx +++ b/viz/exercise/linearScaleMirrorSolution/Graph.tsx @@ -43,24 +43,24 @@ export const Graph = () => { {/* Right Bars */}