\centering
\begin{tikzpicture}[
  ]
  \pgfplotstableread[col sep=comma] {plots/p02_data.csv}\pData
  \begin{axis}[
      width=10cm,
      height=10cm,
      xmin=0,
      xmax=100,
      minor x tick num=10,
      ymin=0.5,
      ymax=1,
      minor y tick num=5,
      every tick label/.append style={font=\scriptsize},  % Reduce axis font size
      xlabel={$d$},
      ylabel={Accuracy},
      xlabel style={font=\scriptsize},
      ylabel style={font=\scriptsize},
      ylabel shift = -4pt,
      title={Problem~\#2: Effect of Dimension of $x$ on KNN Accuracy},
    ]
    \addplot[color=blue, thick] table[x index=0,y index=1] {\pData};
  \end{axis}
\end{tikzpicture}
