#!/usr/bin/env python
# coding: utf-8
# In[7]:
from IPython.display import HTML, Javascript, display
def configure_d3():
"""Tell require where to get d3 from in `require(['d3'])`"""
display(Javascript("""
require.config({
paths: {
d3: "https://d3js.org/d3.v4.min"
}
})"""))
configure_d3()
# In[11]:
get_ipython().run_cell_magic('html', '', '\n\n\n')