From f3deb645ed81e261cbd21d1fdf7f29ceac4a11a5 Mon Sep 17 00:00:00 2001 From: The Coding Aviator <34807532+thecodingaviator@users.noreply.github.com> Date: Mon, 15 Oct 2018 07:03:00 +0530 Subject: [PATCH] Added D3 solution (#19097) * client/src/guide/english/certifications/data-visualization/data-visualization-with-d3/work-with-data-in-d3/index.md * client/src/guide/english/certifications/data-visualization/data-visualization-with-d3/add-document-elements-with-d3/index.md --- .../add-document-elements-with-d3/index.md | 22 ++++++++++++++++--- .../work-with-data-in-d3/index.md | 20 ++++++++++++++--- 2 files changed, 36 insertions(+), 6 deletions(-) diff --git a/client/src/guide/english/certifications/data-visualization/data-visualization-with-d3/add-document-elements-with-d3/index.md b/client/src/guide/english/certifications/data-visualization/data-visualization-with-d3/add-document-elements-with-d3/index.md index ab9f5b1b41..f3d5ddc5d2 100644 --- a/client/src/guide/english/certifications/data-visualization/data-visualization-with-d3/add-document-elements-with-d3/index.md +++ b/client/src/guide/english/certifications/data-visualization/data-visualization-with-d3/add-document-elements-with-d3/index.md @@ -3,8 +3,24 @@ title: Add Document Elements with D3 --- ## Add Document Elements with D3 -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 ``` .select() ``` method. - +### Hint 2 + Target ``` body ```. + +### Hint 3 + Use the ``` .append() ``` method. + +### Hint 4 + Use the ``` .text() ``` method. +### Solution Ahead +### Solution + ```javascript + + + +``` \ No newline at end of file diff --git a/client/src/guide/english/certifications/data-visualization/data-visualization-with-d3/work-with-data-in-d3/index.md b/client/src/guide/english/certifications/data-visualization/data-visualization-with-d3/work-with-data-in-d3/index.md index b9b1496633..6ebc6df174 100644 --- a/client/src/guide/english/certifications/data-visualization/data-visualization-with-d3/work-with-data-in-d3/index.md +++ b/client/src/guide/english/certifications/data-visualization/data-visualization-with-d3/work-with-data-in-d3/index.md @@ -3,8 +3,22 @@ title: Work with Data in D3 --- ## Work with Data in D3 -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 ``` selectAll ``` method. - +### Hint 2 + + Use the ``` .data() ``` method. + +### Spoiler Alert | Solution Ahead +### Solution + +```html + + + +``` \ No newline at end of file