title: Reading a file and mapping values
body: <p>I found an implementation of a parallel coordinates application in c#. What I am trying to achieve is that I want to be able to read a CSV file and map the values and Labels onto the coordinates. The method mapping the values is assigning the values manually. Instead, I want those values to be read from the CSV file.</p>
  
  <p>Here is the current method:</p>
  
  <pre><code>public void DataBind()
          {
              IList&lt;DemoInfo&gt; infos = new List&lt;DemoInfo&gt;();
  
              for (int i = 0; i &lt; ObjectsCount; i++)
              {
                  var x = new DemoInfo();
                  x.X = m_Random.NextDouble() * 400 - 100;
                  x.Y = m_Random.NextDouble() * 500 - 100;
                  x.Z = m_Random.NextDouble() * 600 - 300;
                  x.V = m_Random.NextDouble() * 800 - 100;
                  x.K = 1.0;
                  //x.M = i % 2 == 0 ? 1.0 : -20.0;
                  x.M = i;
                  x.Tag = i + 1;
  
                  infos.Add(x);
              } 
  
  
  
  var dataSource = new MultiDimensionalDataSource&lt;DemoInfo&gt;(infos, 6);
              dataSource.MapDimension(0, info =&gt; info.X);
              dataSource.MapDimension(1, info =&gt; info.Y);
              dataSource.MapDimension(2, info =&gt; info.Z);
              dataSource.MapDimension(3, info =&gt; info.V);
              dataSource.MapDimension(4, info =&gt; info.K);
              dataSource.MapDimension(5, info =&gt; info.M);
  
              //dataSource.MapDimensionToOpacity(0, 0.5);
              dataSource.MapTag(info =&gt; info.Tag);
  
              dataSource.Labels[0] = "X";
              dataSource.Labels[1] = "Y";
              dataSource.Labels[2] = "Z";
              dataSource.Labels[3] = "V";
              dataSource.Labels[4] = "K";
              dataSource.Labels[5] = "M";
              dataSource.HelperAxisLabel = "Helper axis";
  
              DataSource = dataSource;
          }
  </code></pre>
  
  <p>Here is some of the data in the CSV File:</p>
  
  <pre><code>SWW Institutions        Undergradutes       Postgraduates
  University College      2085            250 
  Metropolitan University 4715            1135
  </code></pre>
  
  <p>Would really appreciate your help !!</p>
  
  <p>Thanks. </p>