From 7662ab4fd49cd3c42222715bd8878e6fa48d0433 Mon Sep 17 00:00:00 2001 From: tommy Date: Fri, 16 Jun 2017 16:58:26 -0700 Subject: [PATCH] fix/Typo for challenge description Challenge description for Data Visualization with d3: Set a Domain and a Range on a Scale --- .../04-data-visualization/data-visualization-with-d3.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/seed/challenges/04-data-visualization/data-visualization-with-d3.json b/seed/challenges/04-data-visualization/data-visualization-with-d3.json index a0fc921e60..b1c400676f 100644 --- a/seed/challenges/04-data-visualization/data-visualization-with-d3.json +++ b/seed/challenges/04-data-visualization/data-visualization-with-d3.json @@ -1437,7 +1437,7 @@ ], "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 in the input information for a scale, and is also known as the domain.", + "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.", "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:", "
// Set a domain
// The domain covers the set of input values
scale.domain([50, 480]);
// Set a range
// The range covers the set of output values
scale.range([10, 500]);
scale(50) // Returns 10
scale(480) // Returns 500
scale(325) // Returns 323.37
scale(750) // Returns 807.67
d3.scaleLinear()
", @@ -1801,4 +1801,4 @@ "translations": {} } ] -} \ No newline at end of file +}