From 57c70031195d6500c88f8dda7001af176d4ab33d Mon Sep 17 00:00:00 2001 From: Ty Mick Date: Wed, 2 Sep 2020 14:33:17 -0400 Subject: [PATCH] fix(curriculum): fix typography in "Set a Domain and a Range on a Scale" (#39259) * Change spaced hyphen to em dash * Update curriculum/challenges/english/04-data-visualization/data-visualization-with-d3/set-a-domain-and-a-range-on-a-scale.english.md * Update curriculum/challenges/english/04-data-visualization/data-visualization-with-d3/set-a-domain-and-a-range-on-a-scale.english.md Co-authored-by: Shaun Hamilton <51722130+Sky020@users.noreply.github.com> Co-authored-by: Tom <20648924+moT01@users.noreply.github.com> Co-authored-by: Shaun Hamilton <51722130+Sky020@users.noreply.github.com> --- .../set-a-domain-and-a-range-on-a-scale.english.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/curriculum/challenges/english/04-data-visualization/data-visualization-with-d3/set-a-domain-and-a-range-on-a-scale.english.md b/curriculum/challenges/english/04-data-visualization/data-visualization-with-d3/set-a-domain-and-a-range-on-a-scale.english.md index fdb91bc9a6..9c54bd6bac 100644 --- a/curriculum/challenges/english/04-data-visualization/data-visualization-with-d3/set-a-domain-and-a-range-on-a-scale.english.md +++ b/curriculum/challenges/english/04-data-visualization/data-visualization-with-d3/set-a-domain-and-a-range-on-a-scale.english.md @@ -8,8 +8,8 @@ forumTopicId: 301491 ## Description
-By default, scales use the identity relationship - the input value maps to the output value. But scales can be much more flexible and interesting. -Say a data set has values ranging from 50 to 480. This is the input information for a scale, also known as the domain. +By default, scales use the identity relationship. This means the input value maps to the output value. However, scales can be much more flexible and interesting. +Say a dataset has values ranging from 50 to 480. This is the input information for a scale, also known as the domain. You want to map those points along the x axis on the SVG canvas, between 10 units and 500 units. This is the output information, also known as the range. The domain() and range() methods set these values for the scale. Both methods take an array of at least two elements as an argument. Here's an example: