 
     data = pie(@props.data)
 
-    svg = d3.select(el).append('svg')
+    svg = d3.select(el).selectAll('svg').data [data]
+
+    svg.enter().append('svg')
             .attr 'width', @props.width
             .attr 'height', @props.height
 


    data = @props.data

    svg = d3.select(el).append('svg')
            .attr 'width', @props.width
            .attr 'height', @props.height


        # Misc

        #rawStatsList
)

SSOLoginButton = React.createClass(
  displayName: 'SSOLoginButton'
  render: ->
    ssoLoginImage = 'https://images.contentful.com/idjq7aai9ylm/4PTzeiAshqiM8osU2giO0Y/5cc4cb60bac52422da2e45db87b6819c/EVE_SSO_Login_Buttons_Large_White.png?w=270&h=45'
    ssoParams =
      response_type: 'token'
      redirect_uri: SSO_CALLBACK_URL
      client_id: SSO_CLIENT_ID
      scope: 'publicData characterStatisticsRead'
      state: 'testState'

    ssoUrl = "#{SSO_HOST}/oauth/authorize/?#{qs.stringify ssoParams}"

    if @props.linkText
      content = @props.linkText
    else
      content = dom.img {src: ssoLoginImage}

    return dom.a {href: ssoUrl}, content
)

Title = React.createClass(
