I was able to get this to work, however I had to adjust the sideblock width to 1350 px to accomadate the width of the table. Your code was fine, you just need to return the html to the widget instead of echo.
Code:
ob_start();
echo '<table>';
$f = fopen("https://www.fdic.gov/bank/individual/failed/banklist.csv", "r");
while (($line = fgetcsv($f)) !== false) {
echo '<tr>';
foreach ($line as $cell) {
echo '<td>' . htmlspecialchars($cell) . '</td>';
}
echo '</tr>';
}
fclose($f);
echo '</table>';
$html = ob_get_clean();
return $html;