<html>
  <head>
    <script src="https://d3js.org/d3.v4.min.js"></script>
  </head>
  <body></body>
  <script>
      var divSelection = d3.select("body").append("div");
      divSelection.style("background-color","red");
      
      var spanSelection1 = divSelection.append("span")
                  .style("color","green")
                  .text("hi");
      
      var spanSelection2 = divSelection.append("span")
                  .style("color","blue")
                  .text(" there!"); 
  </script>
</html>
// Code goes here

/* Styles go here */