Some progress on d3. Recording past attempted code before deleting it.