From 069d17dc01a0ee6c0a80a20478200b3688b002e0 Mon Sep 17 00:00:00 2001 From: The Coding Aviator <34807532+thecodingaviator@users.noreply.github.com> Date: Wed, 7 Nov 2018 03:59:28 +0530 Subject: [PATCH] Update index.md (#34231) --- .../index.md | 27 ++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) diff --git a/guide/english/certifications/data-visualization/data-visualization-with-d3/set-a-domain-and-a-range-on-a-scale/index.md b/guide/english/certifications/data-visualization/data-visualization-with-d3/set-a-domain-and-a-range-on-a-scale/index.md index b16217f535..1912373d08 100644 --- a/guide/english/certifications/data-visualization/data-visualization-with-d3/set-a-domain-and-a-range-on-a-scale/index.md +++ b/guide/english/certifications/data-visualization/data-visualization-with-d3/set-a-domain-and-a-range-on-a-scale/index.md @@ -3,8 +3,29 @@ title: Set a Domain and a Range on a Scale --- ## Set a Domain and a Range on a Scale -This is a stub. Help our community expand it. +### Hint 1 -This quick style guide will help ensure your pull request gets accepted. +Use the `.domain()` and `.range()` functions. - +### Hint 2 + +Both the the `.domain()` and `.range()` functions accept an array of two elements. + +## Spoiler Alert | Solution Ahead +### Solution + +The `domain` and `range` functions can be chained, and the following is the solution: + +```javascript + + + +```