From 90e4ddb40f8c140090964d86671bd4febfcfad6b Mon Sep 17 00:00:00 2001 From: Ty Mick Date: Thu, 16 Jul 2020 14:35:03 -0400 Subject: [PATCH] Add tags (#39260) --- .../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 a3b7f65c9b..fdb91bc9a6 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 @@ -9,8 +9,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, and is 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, which is also known as the range. +Say a data set 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: ```js