almost getting a D3 example to work