first working fire rate chart in D3