diff --git a/guide/english/d3/data-visualization-with-d3-work-with-data-in-d3/index.md b/guide/english/d3/data-visualization-with-d3-work-with-data-in-d3/index.md new file mode 100644 index 00000000000..99ea69dcadc --- /dev/null +++ b/guide/english/d3/data-visualization-with-d3-work-with-data-in-d3/index.md @@ -0,0 +1,58 @@ +--- +title: Work with Data in D3 +--- + + Remember to use **`Read-Search-Ask`** if you get stuck. Try to pair program  and write your own code  + +### Problem Explanation: +We need to make `h2` element as much as the number of values in `dataset` with a text `New Title`, using the `data()`, `enter()` functions. + +##  Hint: 1 + +* You will need to select the `body` node, then select all `h2` elements. + +> _try to solve the problem now_ + +##  Hint: 2 + +* You will need to D3 create and append an h2tag using `append()` for each item in the datasetarray using `data()` and `enter()`. + +> _try to solve the problem now_ + +##  Hint: 3 + +* The text in the `h2` should say `New Title` by `text()` function. + +> _try to solve the problem now_ + +## Spoiler Alert! + + + +**Solution ahead!** + +##  Basic Code Solution: +```javascript +
+ + +``` + +##  NOTES FOR CONTRIBUTIONS: + +*  **DO NOT** add solutions that are similar to any existing solutions. If you think it is **_similar but better_**, then try to merge (or replace) the existing similar solution. +* Add an explanation of your solution. +* Categorize the solution in one of the following categories — **Basic**, **Intermediate** and **Advanced**.  +* Please add your username only if you have added any **relevant main contents**. ( **_DO NOT_** _remove any existing usernames_) + +> See  **`Wiki Challenge Solution Template`** for reference.